010 each body dispose hoists

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

248

Expected output

248

Flows

flow ~node click a branch to expand · @labels scroll to their anchor
node (Node, source: item: i64, left: ?Node, right: ?Node)
subflow ~build click a branch to expand · @labels scroll to their anchor
if (depth > 0)
subflow ~sum click a branch to expand · @labels scroll to their anchor
if (t != null)
flow ~capture click a branch to expand · @labels scroll to their anchor
capture (source: acc: 0[i64])

Test Configuration

MUST_RUN