050 union accepts either state

✗ Failing This test is currently failing.

Failed: backend-exec

Failure Output

error[KORU030]: Phantom state mismatch: argument 'conn' has no tracked phantom state, but event requires one of '<active|paused>'.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_050_union_accepts_either_state/input.kz:3:0

error[KORU030]: Phantom state mismatch: argument 'conn' has no tracked phantom state, but event requires one of '<active|paused>'.
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_050_union_accepts_either_state/input.kz:5:0

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

Code

input.kz

Expected output

Creating connection
Connecting: 1
Resuming/continuing: 1
Closing: 1
Creating connection
Connecting: 1
Pausing: 1
Resuming/continuing: 1
Closing: 1
Creating connection
Connecting: 1
Closing: 1
Creating connection
Connecting: 1
Pausing: 1
Closing: 1

Flows

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

Imported Files

connection.kz

Test Configuration

MUST_RUN