007 reissuing event is not a discharger

✓ Passing This code compiles and runs correctly.

Code

input.k

Supporting Files

session.kz

Actual

use() ran — obligation re-issued, nothing released
after use, bridge holds 1 handle(s) — the re-issue released nothing
shut() ran — released 'res_1'
[BRIDGE] Invoked 'shut' for handle 'res_1' [app.session:open]

Expected output

use() ran — obligation re-issued, nothing released
after use, bridge holds 1 handle(s) — the re-issue released nothing
shut() ran — released 'res_1'
[BRIDGE] Invoked 'shut' for handle 'res_1' [app.session:open]

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (session, capacity: 2, source: *std/bridge:Bridge<session!>)
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "s1", scope: "res")
subflow ~open-turn click a branch to expand · @labels scroll to their anchor
query (session)
subflow ~use-turn click a branch to expand · @labels scroll to their anchor
query (session)
flow ~open-turn click a branch to expand · @labels scroll to their anchor
open-turn
flow ~use-turn click a branch to expand · @labels scroll to their anchor
use-turn

Test Configuration

MUST_RUN