050 runtime eval autodischarge

✓ Passing This code compiles and runs correctly.

Code

input.kz

Actual

OPEN
CLOSE
[AUTO-DISCHARGE] Invoked 'close-handle' for handle 'h1' [main:opened]
OK

Expected output

OPEN
CLOSE
[AUTO-DISCHARGE] Invoked 'close-handle' for handle 'h1' [main:opened]
OK

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "api", source: open-handle(1) close-handle(1))
flow ~parse.source click a branch to expand · @labels scroll to their anchor
parse.source (source: TEST_SOURCE, allocator: std.heap.page_allocator)

Test Configuration

MUST_RUN