082 element obligation move in for

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

Code

input.kz

Actual compiler output

error[KORU032]: Cannot discharge outer-scope resource 'h0' inside @scope boundary. Handle outside the scope or escape via branch constructor.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_082_element_obligation_move_in_for/input.kz:53:4

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

Must contain:

Cannot discharge outer-scope resource

Flows

flow ~make click a branch to expand · @labels scroll to their anchor
make

Test Configuration

MUST_ERROR