]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/compile/internal/types2/unify.go
go/types, types2: implement Alias proposal (export API)
[gostls13.git] / src / cmd / compile / internal / types2 / unify.go
index 000321e4eae2f992c5458ebdd6ed279dec688cc3..8218939b6834771987ef77e2eaa5c7e82c662f66 100644 (file)
@@ -291,8 +291,8 @@ func (u *unifier) nify(x, y Type, mode unifyMode, p *ifacePair) (result bool) {
                u.depth--
        }()
 
-       x = _Unalias(x)
-       y = _Unalias(y)
+       x = Unalias(x)
+       y = Unalias(y)
 
        // nothing to do if x == y
        if x == y {