143 if then required

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

Code

input.k

Actual compiler output

error[KORU022]: branch 'then' must be handled but no continuation found
  --> tests/regression/320_CONTROL_FLOW/320_143_if_then_required/input.k:22:0

❌ Compiler coordination error: Incomplete branch coverage
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Compiler must reject:

Compilation must fail with a diagnostic.

Flows

flow ~if click a branch to expand · @labels scroll to their anchor
if (42 > 10)

Test Configuration

MUST_ERROR