246 sweep names its own row handle

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

chain 30 -> 20 -> 10 ordsum 3

Expected output

chain 30 -> 20 -> 10 ordsum 3

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: cells, capacity: 8, source: v: i64, next: -1[i64])
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: head, source: h: -1[i64])
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: acc, source: ordsum: 0[i64])
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: probe, source: v1: 0[i64], v2: 0[i64], v3: 0[i64])
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: cells, source: v: 10, next: -1)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: cells, source: v: 20, next: -1)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: cells, source: v: 30, next: -1)
flow ~query click a branch to expand · @labels scroll to their anchor
query (expr: cells)
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: probe.v1: cells[head.h].v, probe.v2: cells[cells[head.h].next].v)
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: probe.v3: cells[cells[cells[head.h].next].next].v)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "chain {{ probe.v1:d }} -> {{ probe.v2:d }} -> {{ probe.v3:d }} ordsum {{ acc.ordsum:d }}")

Test Configuration

MUST_RUN