From 63722da46bbf320670e8f993490fe1431feeeb04 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Sat, 5 Dec 2020 17:24:48 -0800 Subject: [PATCH] [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 Reviewed-by: Russ Cox --- src/cmd/compile/internal/gc/typecheck.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/gc/typecheck.go b/src/cmd/compile/internal/gc/typecheck.go index a7c05c6c0fa..990921189a4 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)