]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/cmd/compile/internal/types2/signature.go
go/types, types2: implement Alias proposal (export API)
[gostls13.git] / src / cmd / compile / internal / types2 / signature.go
index f876b16c8f6b4c47a3c0195b0a80d32c7e5084c3..8b896f7a907a1b77144e3427de1826d9efc2cda9 100644 (file)
@@ -208,7 +208,7 @@ func (check *Checker) funcType(sig *Signature, recvPar *syntax.Field, tparams []
                check.later(func() {
                        // spec: "The receiver type must be of the form T or *T where T is a type name."
                        rtyp, _ := deref(recv.typ)
-                       atyp := _Unalias(rtyp)
+                       atyp := Unalias(rtyp)
                        if !isValid(atyp) {
                                return // error was reported before
                        }