050 union accepts either state

✗ Failing This test is currently failing.

Failed: backend-exec

Failure Output

error[KORU021]: continuation branch 'resumed' on tor 'app.connection:resume' — a bare return has no tags
  --> tests/regression/300_ADVANCED_FEATURES/330_PHANTOM_TYPES/330_050_union_accepts_either_state/input.kz:3:8
  hint: bind the value with `: name`, not `| resumed`

❌ Compiler coordination error: Incomplete branch coverage
   (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