Skip to content

Commit e0b7e7e

Browse files
committed
add span for InExpr
1 parent f85f242 commit e0b7e7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ast/spans.rs

+5
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,11 @@ impl Spanned for Expr {
12591259
array_expr,
12601260
negated: _,
12611261
} => expr.span().union(&array_expr.span()),
1262+
Expr::InExpr {
1263+
expr,
1264+
in_expr,
1265+
negated: _,
1266+
} => expr.span().union(&in_expr.span()),
12621267
Expr::Between {
12631268
expr,
12641269
negated: _,

0 commit comments

Comments
 (0)