Permit expression sequences in case clauses
@@ -205,10 +205,10 @@ Case: UntypedExpr = {
}
Clause: UntypedClause = {
- <s:@L> "|" <pattern:Pattern> "->" <then:Expr> <e:@L> => Clause {
+ <s:@L> "|" <pattern:Pattern> "->" <then:Expr+> <e:@L> => Clause {
meta: meta(s, e),
pattern,
- then: then,
+ then: seq(then),
}
}
