From 795414d1c628f763defa43199ab51ea3dc3241d8 Mon Sep 17 00:00:00 2001 From: Michael Pratt Date: Thu, 21 Sep 2023 13:41:31 -0400 Subject: [PATCH] cmd/compile: capitalize ir.MethodSym in comment Change-Id: I631704f87cc5343eeacdc800b819f2588e9528b4 Reviewed-on: https://go-review.googlesource.com/c/go/+/530315 LUCI-TryBot-Result: Go LUCI Reviewed-by: Matthew Dempsky Auto-Submit: Michael Pratt --- src/cmd/compile/internal/ir/expr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {