040 undisposed nested obligation

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

Code

input.k

Supporting Files

fs.kz

Actual compiler output

error[KORU030]: Phantom state mismatch: argument 'file' has no tracked phantom state, but this event requires state '<opened>'.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_040_undisposed_nested_obligation/input.k:2:0

❌ Compiler coordination error: Phantom semantic validation failed
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Must contain:

Phantom state mismatch

Flows

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

Test Configuration

MUST_ERROR