Skip to content

Commit b700d3f

Browse files
committed
fix: Fix then block accessor for ast if expression not ignoring attributes
1 parent 1787c14 commit b700d3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/syntax/src/ast/expr_ext.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ impl ast::IfExpr {
6464
}
6565

6666
fn children_after_condition<N: AstNode>(&self) -> impl Iterator<Item = N> {
67-
self.syntax().children().skip(1).filter_map(N::cast)
67+
self.syntax().children().filter_map(N::cast).skip(1)
6868
}
6969
}
7070

0 commit comments

Comments
 (0)