Skip to content

Commit 156bd6d

Browse files
authored
fix: fix to traverse Sel in ast.In (#2414)
fix #2403
1 parent 72d8fea commit 156bd6d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/sql/astutils/rewrite.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ func (a *application) apply(parent ast.Node, name string, iter *iterator, n ast.
194194

195195
case *ast.In:
196196
a.applyList(n, "List")
197+
a.apply(n, "Sel", nil, n.Sel)
197198

198199
case *ast.List:
199200
// Since item is a slice

0 commit comments

Comments
 (0)