Skip to content

Commit

Permalink
fix: fix to traverse Sel in ast.In (#2414)
Browse files Browse the repository at this point in the history
fix #2403
  • Loading branch information
orisano committed Jul 12, 2023
1 parent 72d8fea commit 156bd6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/sql/astutils/rewrite.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func (a *application) apply(parent ast.Node, name string, iter *iterator, n ast.

case *ast.In:
a.applyList(n, "List")
a.apply(n, "Sel", nil, n.Sel)

case *ast.List:
// Since item is a slice
Expand Down

0 comments on commit 156bd6d

Please sign in to comment.