1
0
mirror of https://github.com/golang/go synced 2024-11-17 03:14:50 -07:00

cmd/compile: correct comment: walkSwitch -> walkSelect

This commit is contained in:
wangyuntao 2021-07-10 12:05:27 +08:00
parent ab4085ce84
commit 831f197319

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 {