mirror of
https://github.com/golang/go
synced 2024-11-18 17:34:51 -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:
parent
21bd01722c
commit
795414d1c6
@ -1138,7 +1138,7 @@ func MethodSym(recv *types.Type, msym *types.Sym) *types.Sym {
|
|||||||
return 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
|
// distinguisher suffix. To avoid collisions, the suffix must not
|
||||||
// start with a letter, number, or period.
|
// start with a letter, number, or period.
|
||||||
func MethodSymSuffix(recv *types.Type, msym *types.Sym, suffix string) *types.Sym {
|
func MethodSymSuffix(recv *types.Type, msym *types.Sym, suffix string) *types.Sym {
|
||||||
|
Loading…
Reference in New Issue
Block a user