1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:40:02 -07:00

cmd/compile: correct comment: walkSwitch -> walkSelect

fix typo

Change-Id: Ie2470e494ba95eed067ad42677520b35b383555f
GitHub-Last-Rev: 831f197319
GitHub-Pull-Request: golang/go#47117
Reviewed-on: https://go-review.googlesource.com/c/go/+/333789
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Trust: Keith Randall <khr@golang.org>
This commit is contained in:
wangyuntao 2021-07-10 04:11:22 +00:00 committed by Daniel Martí
parent 70b1a45425
commit 8b2f583ad1

View File

@ -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 {