103 effect obligation cannot escape

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

Code

input.kz

Actual compiler output

error[KORU030]: Resource 'r' obligation <active!> was not discharged. No tor accepts <!active>.
  --> tests/regression/400_RUNTIME_FEATURES/400_103_effect_obligation_cannot_escape/input.kz:32:0

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

Backend must reject with:

CONTAINS error[KORU030]
CONTAINS was not discharged

Flows

flow ~requires click a branch to expand · @labels scroll to their anchor
requires (source: exe.linkLibC();)
flow ~gen click a branch to expand · @labels scroll to their anchor
gen (n: 3)

Test Configuration

MUST_ERROR