352 pump retired needs live

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

Code

input.k

Supporting Files

lib/flicker.kz

Actual compiler output

error[KORU161]: std/pump:run(main): join 0 declares `__pump_main_retired_0` but answers no `! live` - an immortal participant never retires
  --> tests/regression/600_STDLIB/690_STORE/690_352_pump_retired_needs_live/input.k:23:0

Must contain:

an immortal participant never retires

Flows

flow ~light click a branch to expand · @labels scroll to their anchor
light (a: 1, b: 2)
flow ~create click a branch to expand · @labels scroll to their anchor
create (expr: main)
flow ~__pump_main_retired_0 click a branch to expand · @labels scroll to their anchor
__pump_main_retired_0
flow ~std/pump click a branch to expand · @labels scroll to their anchor
std/pump (main)
flow ~std/pump click a branch to expand · @labels scroll to their anchor
std/pump (main)
flow ~run click a branch to expand · @labels scroll to their anchor
run (main)

Test Configuration

MUST_ERROR

koru.json: