]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/go/types/mono.go
go/types, types2: implement Alias proposal (export API)
[gostls13.git] / src / go / types / mono.go
index ee01435e77275e57a2cf94f067c38a27703408a9..74113392149fbdc1362af3d085496b8daf907b12 100644 (file)
@@ -206,7 +206,7 @@ func (w *monoGraph) assign(pkg *Package, pos token.Pos, tpar *TypeParam, targ Ty
        // type parameters.
        var do func(typ Type)
        do = func(typ Type) {
-               switch typ := _Unalias(typ).(type) {
+               switch typ := Unalias(typ).(type) {
                default:
                        panic("unexpected type")