093 interceptor payload reaches nested sweep

✗ Failing This test is currently failing.

Failed: backend-exec

Failure Output

error[KORU161]: std/store:new(nodes): `! removed` binds 'id' but never uses it — discard the payload (`! removed _`), or use the field in the body
  --> tests/regression/600_STDLIB/690_STORE/690_093_interceptor_payload_reaches_nested_sweep/input.k:28:0

error[KORU161]: std/store:take(nodes[...]): unknown or not-yet-created container store 'nodes'
  --> tests/regression/600_STDLIB/690_STORE/690_093_interceptor_payload_reaches_nested_sweep/input.k:39:0

Code

input.k

Expected output

id 10 live 0
id 20 live 1

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: idx, capacity: 8, source: id: i64, live: i64)
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: nodes, capacity: 8, source: id: i64, val: i64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: idx, source: id: 10, live: 1)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: nodes, source: id: 10, val: 100)
flow ~sweep click a branch to expand · @labels scroll to their anchor
sweep (expr: idx)

Test Configuration

MUST_RUN