diff --git a/src/cmd/compile/internal/ir/expr.go b/src/cmd/compile/internal/ir/expr.go index 1436170a43..02d762b11a 100644 --- a/src/cmd/compile/internal/ir/expr.go +++ b/src/cmd/compile/internal/ir/expr.go @@ -1138,7 +1138,7 @@ func MethodSym(recv *types.Type, msym *types.Sym) *types.Sym { return sym } -// MethodSymSuffix is like methodsym, but allows attaching a +// MethodSymSuffix is like MethodSym, but allows attaching a // distinguisher suffix. To avoid collisions, the suffix must not // start with a letter, number, or period. func MethodSymSuffix(recv *types.Type, msym *types.Sym, suffix string) *types.Sym {