X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=src%2Fcmd%2Fcompile%2Finternal%2Ftypes2%2Fsignature.go;h=8b896f7a907a1b77144e3427de1826d9efc2cda9;hb=30de0b5ef4dda725f29fbdb88e1429a6dd3ae8cd;hp=f876b16c8f6b4c47a3c0195b0a80d32c7e5084c3;hpb=42bd21be1cf54876ce24c489852721049ef293e2;p=gostls13.git diff --git a/src/cmd/compile/internal/types2/signature.go b/src/cmd/compile/internal/types2/signature.go index f876b16c8f..8b896f7a90 100644 --- a/src/cmd/compile/internal/types2/signature.go +++ b/src/cmd/compile/internal/types2/signature.go @@ -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 }