aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/type.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/type.go')
-rw-r--r--src/go/types/type.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/type.go b/src/go/types/type.go
index b9634cf6f6..31149cfd36 100644
--- a/src/go/types/type.go
+++ b/src/go/types/type.go
@@ -114,7 +114,7 @@ func asInterface(t Type) *Interface {
func asNamed(t Type) *Named {
e, _ := t.(*Named)
if e != nil {
- e.expand(nil)
+ e.resolve(nil)
}
return e
}