]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.regabi] cmd/compile: fix comment
authorKeith Randall <khr@golang.org>
Sun, 6 Dec 2020 01:24:48 +0000 (17:24 -0800)
committerKeith Randall <khr@golang.org>
Mon, 7 Dec 2020 21:43:46 +0000 (21:43 +0000)
Russ, is this what you meant?

Change-Id: I27d2847811c6eabd94358e435eb3eb4bc8cfaa9e
Reviewed-on: https://go-review.googlesource.com/c/go/+/275712
Trust: Keith Randall <khr@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/compile/internal/gc/typecheck.go

index a7c05c6c0fa6244290a291a52381322828866306..990921189a439a6c8fe233209fccdc139a33dcd9 100644 (file)
@@ -3361,7 +3361,7 @@ out:
 
 // type check function definition
 // To be called by typecheck, not directly.
-// (Call typecheckfn instead.)
+// (Call typecheckFunc instead.)
 func typecheckfunc(n *ir.Func) {
        if enableTrace && base.Flag.LowerT {
                defer tracePrint("typecheckfunc", n)(nil)