009 mint second owner edge

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Actual compiler output

error[KORU030]: Use-after-discharge: binding 'inner' was already discharged and cannot be used
  --> tests/regression/600_STDLIB/682_TREE/682_009_mint_second_owner_edge/input.k:12:1

Must contain:

Use-after-discharge

Flows

flow ~node click a branch to expand · @labels scroll to their anchor
node (Node, source: item: i64, left: ?Node)
flow ~mint click a branch to expand · @labels scroll to their anchor
mint (Node, source: item: 1)

Test Configuration

MUST_ERROR