125 captured arm if names undeclared branch

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

error[KORU021]: tor 'if' has no branch 'missing' (available: then, else)
  --> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_125_captured_arm_if_names_undeclared_branch/input.k:26:13
    |
 26 |             | missing |> std/io:print.ln("should-refuse")
    |             ^

Frontend must reject with:

NOT_CONTAINS output_emitted.zig
CONTAINS KORU021
CONTAINS has no branch 'missing'

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (bits: 8)

Test Configuration

MUST_ERROR