From 831f1973194f55b435dcdc6ef30290848228a114 Mon Sep 17 00:00:00 2001 From: wangyuntao Date: Sat, 10 Jul 2021 12:05:27 +0800 Subject: [PATCH] cmd/compile: correct comment: walkSwitch -> walkSelect --- src/cmd/compile/internal/ir/stmt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ir/stmt.go b/src/cmd/compile/internal/ir/stmt.go index 8115012f978..bb3dc16a829 100644 --- a/src/cmd/compile/internal/ir/stmt.go +++ b/src/cmd/compile/internal/ir/stmt.go @@ -338,7 +338,7 @@ type SelectStmt struct { HasBreak bool // TODO(rsc): Instead of recording here, replace with a block? - Compiled Nodes // compiled form, after walkSwitch + Compiled Nodes // compiled form, after walkSelect } func NewSelectStmt(pos src.XPos, cases []*CommClause) *SelectStmt {