aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/lookup.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/lookup.go')
-rw-r--r--src/go/types/lookup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/lookup.go b/src/go/types/lookup.go
index 4664a0b33b..cc7f24d97b 100644
--- a/src/go/types/lookup.go
+++ b/src/go/types/lookup.go
@@ -124,7 +124,7 @@ func lookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string) (o
seen[named] = true
// look for a matching attached method
- named.load()
+ named.resolve(nil)
if i, m := lookupMethod(named.methods, pkg, name); m != nil {
// potential match
// caution: method may not have a proper signature yet