003 preorder arm resolves entity before descendants

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

11
21
41
31

Expected output

11
21
41
31

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: tree, capacity: 64, source: val: i64)
flow ~insert click a branch to expand · @labels scroll to their anchor
insert (expr: tree, source: val: 10)
flow ~preorder click a branch to expand · @labels scroll to their anchor
preorder (expr: tree)
flow ~preorder click a branch to expand · @labels scroll to their anchor
preorder (expr: tree)

Test Configuration

MUST_RUN