129 scope discharge names the arm

✓ 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_129_scope_discharge_names_the_arm/input.k:7: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