Skip to content

Commit

Permalink
Merge pull request #1773 from visualfc/walk
Browse files Browse the repository at this point in the history
ast: walk add *IndexListExpr
  • Loading branch information
xushiwei committed Feb 23, 2024
2 parents 0e2996b + 0111ce7 commit 010698b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ast/walk.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ func Walk(v Visitor, node Node) {
Walk(v, n.X)
Walk(v, n.Index)

case *IndexListExpr:
Walk(v, n.X)
walkExprList(v, n.Indices)

case *SliceExpr:
Walk(v, n.X)
if n.Low != nil {
Expand Down

0 comments on commit 010698b

Please sign in to comment.