multiple resources partial cleanup

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

Code

input.kz

Supporting Files

fs.kz

Actual compiler output

error[KORU030]: Resource 'file2' obligation <opened!> was not discharged. Call one of: close
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/521_multiple_resources_partial_cleanup/input.kz:5: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:

error[KORU030]

Flows

flow ~open-two click a branch to expand · @labels scroll to their anchor
open-two (path1: "test1.txt", path2: "test2.txt")

Test Configuration

MUST_ERROR