113 named capture obligation undischarged

✓ 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. Call one of: app.lantern:douse
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_113_named_capture_obligation_undischarged/input.k:22:0

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

Must contain:

was not discharged

Flows

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

Test Configuration

MUST_ERROR

Compiler Flags:

--auto-discharge=disable