mirror of
https://github.com/go-delve/delve.git
synced 2025-10-29 09:46:56 +08:00
proc: remove unused parameter from resolveParametricType (#3276)
This commit is contained in:
committed by
GitHub
parent
c728f90dcf
commit
cf65f94776
@ -134,7 +134,7 @@ func runtimeTypeToDIE(_type *Variable, dataAddr uint64) (typ godwarf.Type, kind
|
||||
|
||||
// resolveParametricType returns the real type of t if t is a parametric
|
||||
// type, by reading the correct dictionary entry.
|
||||
func resolveParametricType(tgt *Target, bi *BinaryInfo, mem MemoryReadWriter, t godwarf.Type, dictAddr uint64) (godwarf.Type, error) {
|
||||
func resolveParametricType(bi *BinaryInfo, mem MemoryReadWriter, t godwarf.Type, dictAddr uint64) (godwarf.Type, error) {
|
||||
ptyp, _ := t.(*godwarf.ParametricType)
|
||||
if ptyp == nil {
|
||||
return t, nil
|
||||
|
||||
Reference in New Issue
Block a user