fix: Fix ast::IfExpr child accessors

This commit is contained in:
Lukas Wirth 2023-03-15 12:53:39 +01:00
parent 1787c14e72
commit 9fe206956f
3 changed files with 21 additions and 21 deletions

View file

@ -636,9 +636,8 @@ fn foo() {
if {}
}
"#,
// the {} gets parsed as the condition, I think?
expect![[r#"
fn foo () {if {} {}}
fn foo () {if __ra_fixup {} {}}
"#]],
)
}