050 runtime eval autodischarge

? Unknown Status unknown.

Code

input.kz

Expected output

[EVAL] Starting execution of pre-parsed flow
[EVAL] Validation passed
OPEN
[EVAL] Execution complete, branch: opened
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, file-name: "runtime_eval_autodischarge.kz", allocator: std.heap.page_allocator)

Test Configuration

MUST_RUN