]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/go/types/named.go
go/types, types2: implement Alias proposal (export API)
[gostls13.git] / src / go / types / named.go
index fed114edc054a564743bf4b48a6d2d077ceb9a18..21c0de255dedba8db35edd79192f509d90ec6ee4 100644 (file)
@@ -455,8 +455,8 @@ func (t *Named) AddMethod(m *Func) {
        }
 }
 
-// TODO(gri) Investigate if _Unalias can be moved to where underlying is set.
-func (t *Named) Underlying() Type { return _Unalias(t.resolve().underlying) }
+// TODO(gri) Investigate if Unalias can be moved to where underlying is set.
+func (t *Named) Underlying() Type { return Unalias(t.resolve().underlying) }
 func (t *Named) String() string   { return TypeString(t, nil) }
 
 // ----------------------------------------------------------------------------