013 residual does not cover required

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

Code

input.kz

Actual compiler output

error[KORU022]: branch 'failure' must be handled but no continuation found
  --> tests/regression/300_ADVANCED_FEATURES/355_OPTIONAL_BRANCHES/355_013_residual_does_not_cover_required/input.kz:27:0

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

Error output must contain

branch 'failure' must be handled

Flows

flow ~process click a branch to expand · @labels scroll to their anchor
process (value: 10)

Test Configuration

MUST_ERROR