130 panic branch strict flag

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

Code

input.kz

Actual compiler output

error[KORU022]: panic branch 'oom' is unhandled — in strict mode (--panic-branches=strict) panic branches must be handled or explicitly muted (| oom _ |> ...). Without strict mode this synthesizes @panic at runtime.
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_130_panic_branch_strict_flag/input.kz:26:0

❌ Compiler coordination error: Auto-discharge failed (multiple disposal options or no disposal event)
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Must fail at runtime:

Program must error when executed.

Expected patterns

Each line is a regex that must match the compiler error output.

KORU022.*panic branch 'oom' is unhandled

Flows

flow ~alloc click a branch to expand · @labels scroll to their anchor
alloc (n: 4)

Test Configuration

MUST_ERROR

Compiler Flags:

--panic-branches=strict