122 head label bind obligation undischarged

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

Code

input.kz

Actual compiler output

error[KORU030]: Resource 'c' carries obligation <state_a!> was not discharged. Call one of: input:cleanup
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_122_head_label_bind_obligation_undischarged/input.kz:34:0

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

Must contain:

Resource 'c' carries obligation <state_a!> was not discharged

Flows

flow ~create click a branch to expand · @labels scroll to their anchor
create (value: 7)

Test Configuration

MUST_ERROR

Compiler Flags:

--auto-discharge=disable