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 8b1d70a978..07baf2a48b 100644
--- a/src/go/types/lookup.go
+++ b/src/go/types/lookup.go
@@ -121,7 +121,7 @@ func lookupFieldOrMethod(T Type, addressable bool, pkg *Package, name string) (o
seen[named] = true
// look for a matching attached method
- named.expand()
+ named.load()
if i, m := lookupMethod(named.methods, pkg, name); m != nil {
// potential match
// caution: method may not have a proper signature yet