Commit 9c64c65d authored by Kevin Burke's avatar Kevin Burke Committed by Brad Fitzpatrick

cmd/compile: fix spelling error

Change-Id: Ifc533ee98a7684060d20340087c1b29f722ae46b
Reviewed-on: https://go-review.googlesource.com/84835Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 04472163
...@@ -599,7 +599,7 @@ func preInliningDcls(fnsym *obj.LSym) []*Node { ...@@ -599,7 +599,7 @@ func preInliningDcls(fnsym *obj.LSym) []*Node {
} }
for _, n := range dcl { for _, n := range dcl {
c := n.Sym.Name[0] c := n.Sym.Name[0]
// Avoid reporting "_" parameters, since if there are more tham // Avoid reporting "_" parameters, since if there are more than
// one, it can result in a collision later on, as in #23179. // one, it can result in a collision later on, as in #23179.
if unversion(n.Sym.Name) == "_" || c == '.' || n.Type.IsUntyped() { if unversion(n.Sym.Name) == "_" || c == '.' || n.Type.IsUntyped() {
continue continue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment