141 reject branches off bodiless branch

✓ Passing This code compiles and runs correctly.

Code

input.k

Frontend must reject with:

CONTAINS KORU105

Error Verification

Actual Compiler Output

error[KORU105]: nested branches under bodiless branch '[a-z]+' — nothing picks a branch here
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_141_reject_branches_off_bodiless_branch/input.k:14:0
    |
 14 | | `[a-z]+` _
    | ^
  hint: branches continue from something that picks: give this branch a body (`|> event(...)`) and nest the branches under that invocation

Flows

flow ~match click a branch to expand · @labels scroll to their anchor
match (expr: "x")

Test Configuration

MUST_FAIL