Make all tests passing.

This commit is contained in:
Jesse Brault 2025-09-25 12:16:55 -05:00
parent 86331ee9b0
commit 41673a68f8
2 changed files with 4 additions and 2 deletions

View File

@ -98,7 +98,7 @@ pub fn make_polymorphic_enum_loop_build_fn(spec: &PolymorphicEnumLoopBuildSpec)
for inner_pair in #iter_expr {
match inner_pair.as_rule() {
#(#match_arms,)*
_ => unreachable!()
_ => unreachable!("Unexpected parse rule: {:?} (inner pair: {:#?}", inner_pair.as_rule(), inner_pair),
}
}
result.unwrap()

View File

@ -919,6 +919,7 @@ AdditiveExpression:
- MultiplicativeExpression:
pass_through:
kind: Expression
with: MultiplicativeExpression
- AdditiveRhs:
build:
variant: Additive
@ -954,6 +955,7 @@ MultiplicativeExpression:
- PrefixExpression:
pass_through:
kind: Expression
with: PrefixExpression
- MultiplicativeRhs:
build:
variant: Multiplicative