mirror of
https://github.com/golang/go
synced 2024-11-23 12:40:11 -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:
parent
70b1a45425
commit
8b2f583ad1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user