064 reject phantom primitive mismatch

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

Code

input.kz

Actual compiler output

error[KORU030]: Phantom state mismatch: argument 'c' has no tracked phantom state, but this event requires state '<celsius>'.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_064_reject_phantom_primitive_mismatch/input.kz:16:0

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

Must fail at runtime:

Program must error when executed.

Error output must contain

Phantom state mismatch: argument 'c' has no tracked phantom state

Flows

flow ~read-raw click a branch to expand · @labels scroll to their anchor
read-raw (sensor_id: 1)

Test Configuration

MUST_ERROR