1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:44:41 -07:00

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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
This commit is contained in:
Michael Pratt 2023-09-21 13:41:31 -04:00 committed by Gopher Robot
parent 21bd01722c
commit 795414d1c6

View File

@ -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 {