337 reactive take mints dead handle resolves empty

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

took 99
empty
len 0

Expected output

✓ Zig✓ JavaScript
took 99
empty
len 0

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (pool, capacity: 64, source: hp: i64)
subflow ~sweep click a branch to expand · @labels scroll to their anchor
rule (pool)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (pool, source: hp: 99)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "len {{ pool.len:d }}")

Test Configuration

MUST_RUN LANGUAGES: zig js