]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/compile: fix spelling error
authorKevin Burke <kev@inburke.com>
Tue, 19 Dec 2017 20:31:14 +0000 (12:31 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 19 Dec 2017 20:38:04 +0000 (20:38 +0000)
Change-Id: Ifc533ee98a7684060d20340087c1b29f722ae46b
Reviewed-on: https://go-review.googlesource.com/84835
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/compile/internal/gc/pgen.go

index d3834ddc379910a077213fcc084c0a835aa7adad..6fa301659ddbb7a9bb3674e1f438b27dabcbad98 100644 (file)
@@ -599,7 +599,7 @@ func preInliningDcls(fnsym *obj.LSym) []*Node {
        }
        for _, n := range dcl {
                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.
                if unversion(n.Sym.Name) == "_" || c == '.' || n.Type.IsUntyped() {
                        continue