114 produce obligation lost to continuation

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

Code

input.k

Supporting Files

lantern.kz

Actual compiler output

error[KORU030]: Resource 'lamp' carries obligation <lit!> was not discharged. No tor accepts <!lit>.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_114_produce_obligation_lost_to_continuation/input.k:17:0

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

Must contain:

was not discharged

Flows

subflow ~fetch click a branch to expand · @labels scroll to their anchor
light
flow ~fetch click a branch to expand · @labels scroll to their anchor
fetch

Test Configuration

MUST_ERROR

Compiler Flags:

--auto-discharge=disable