109 double discharge field

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

Code

input.kz

Actual compiler output

error[KORU030]: Use-after-discharge: binding 's.h' was already discharged and cannot be used
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_109_double_discharge_field/input.kz:17:0

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

Backend must reject with:

CONTAINS error[KORU030]
CONTAINS already discharged

Flows

flow ~make2 click a branch to expand · @labels scroll to their anchor
make2 (id: 1)

Test Configuration

MUST_ERROR