071 aspire chain autodischarge

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

Code

input.kz

Actual compiler output

error[KORU030]: Resource 'w' obligation <raw!> was not discharged. Call: cure
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_071_aspire_chain_autodischarge/input.kz:52:1

Backend must reject with:

CONTAINS error[KORU030]
CONTAINS was not discharged

Flows

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

Test Configuration

MUST_ERROR LANGUAGES: zig cs