mirror of
https://github.com/golang/go
synced 2024-11-21 19:04:44 -07:00
go/ast: add missing handling of SendStmt to ast.Walk
R=adg CC=golang-dev https://golang.org/cl/4044048
This commit is contained in:
parent
d203c43568
commit
3a54d43825
@ -195,6 +195,10 @@ func Walk(v Visitor, node Node) {
|
||||
case *ExprStmt:
|
||||
Walk(v, n.X)
|
||||
|
||||
case *SendStmt:
|
||||
Walk(v, n.Chan)
|
||||
Walk(v, n.Value)
|
||||
|
||||
case *IncDecStmt:
|
||||
Walk(v, n.X)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user