043 auto discharge none

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

Code

input.kz

Supporting Files

fs.kz

Actual compiler output

error[KORU030]: Resource '*File' obligation <opened!> was not discharged. No tor accepts <!opened>.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_043_auto_discharge_none/input.kz:2:0

❌ 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:

was not discharged

Error output must contain

No disposal event found

Flows

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

Test Configuration

MUST_ERROR