045 for manual each error

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

Code

input.k

Supporting Files

fs.kz

Actual compiler output

error[KORU032]: Cannot discharge outer-scope resource 'f' inside @scope boundary. Handle outside the scope or escape via branch constructor.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_045_for_manual_each_error/input.k:4: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:

KORU032

Flows

flow ~open click a branch to expand · @labels scroll to their anchor
open (path: "outer.txt")

Test Configuration

MUST_ERROR