1
0
mirror of https://github.com/golang/go synced 2024-11-12 07:00:21 -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:
Robert Griesemer 2011-02-01 16:57:45 -08:00
parent d203c43568
commit 3a54d43825

View File

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