state variable constraint violation

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

Code

input.kz

Supporting Files

data.kz
processor.kz

Actual compiler output

error[KORU030]: Phantom state mismatch: expected 'M'owned|borrowed' but got 'app.data:gc' for argument 'd'
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/524_state_variable_constraint_violation/input.kz:6:0

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

Must contain:

error[KORU030]

Flows

flow ~gc-alloc click a branch to expand · @labels scroll to their anchor
gc-alloc

Test Configuration

MUST_ERROR