]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: capitalize ir.MethodSym in comment
authorMichael Pratt <mpratt@google.com>
Thu, 21 Sep 2023 17:41:31 +0000 (13:41 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 21 Sep 2023 21:40:05 +0000 (21:40 +0000)
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>

src/cmd/compile/internal/ir/expr.go

index 1436170a431b46ea7f64247cb1a2b100f4918565..02d762b11a33820a62f43aaa910c4c2911042510 100644 (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 {