Commit 3a54d438 authored by Robert Griesemer's avatar Robert Griesemer

go/ast: add missing handling of SendStmt to ast.Walk

R=adg
CC=golang-dev
https://golang.org/cl/4044048
parent d203c435
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment