012 declined panic branch inside an arm

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

first take: 42
thread 349060085 panic: input:__store_take_rows: unhandled panic branch 'empty' fired at runtime
???:?:?: 0x100771b1f in _output_emitted.main_module.flow2 (???)
???:?:?: 0x10077175f in _output_emitted.main (???)
???:?:?: 0x10077166b in _main (???)
???:?:?: 0x1816a3dff in ??? (???)
???:?:?: 0x0 in ??? (???)

Expected patterns

Each line is a regex that must match the program output.

first take: 42
unhandled panic branch 'empty' fired at runtime

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (log, source: h: -1[i64])
flow ~new click a branch to expand · @labels scroll to their anchor
new (rows, capacity: 4, source: v: i64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (rows, source: v: 42)
flow ~take click a branch to expand · @labels scroll to their anchor
take (h]: rows[log.h])
flow ~for click a branch to expand · @labels scroll to their anchor
for (0..1)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "REACHED THE END — the declined panic branch was silent")

Test Configuration

MUST_RUN EXPECT_TRAP · exit 134