summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2020-12-05 17:24:48 -0800
committerKeith Randall <khr@golang.org>2020-12-07 21:43:46 +0000
commit63722da46bbf320670e8f993490fe1431feeeb04 (patch)
treede8e4a6a3d04c7fb2d9ba0ad21936190db9f9109
parent6d783e7440056ca24b57b52605def43d09d8b2a2 (diff)
downloadgo-git-63722da46bbf320670e8f993490fe1431feeeb04.tar.gz
[dev.regabi] cmd/compile: fix comment
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>
-rw-r--r--src/cmd/compile/internal/gc/typecheck.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/gc/typecheck.go b/src/cmd/compile/internal/gc/typecheck.go
index a7c05c6c0f..990921189a 100644
--- a/src/cmd/compile/internal/gc/typecheck.go
+++ b/src/cmd/compile/internal/gc/typecheck.go
@@ -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)