027 shadowed arm never fires

✓ Passing This code compiles and runs correctly.

Code

input.k

Actual

t1 refused unreachable 'found' arm — an earlier unguarded 'found' sibling answers that outcome and first match wins; indent the arm under the step it follows to chain deeper, or 'when'-guard all but one same-branch arm
t2 refused unreachable 'found' arm — an earlier unguarded 'found' sibling answers that outcome and first match wins; indent the arm under the step it follows to chain deeper, or 'when'-guard all but one same-branch arm
echo: fallback-t3
t3 result
echo: first
echo: second
t4 result
echo: on-found
t5 result

Expected output

t1 refused unreachable 'found' arm — an earlier unguarded 'found' sibling answers that outcome and first match wins; indent the arm under the step it follows to chain deeper, or 'when'-guard all but one same-branch arm
t2 refused unreachable 'found' arm — an earlier unguarded 'found' sibling answers that outcome and first match wins; indent the arm under the step it follows to chain deeper, or 'when'-guard all but one same-branch arm
echo: fallback-t3
t3 result
echo: first
echo: second
t4 result
echo: on-found
t5 result

Flows

flow ~register click a branch to expand · @labels scroll to their anchor
register (scope: "binds", source: probe(1) echo(1))
subflow ~turn1 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\")\n| found h |> echo(text: \"one\")\n| found u |> echo(text: \"two\")")
subflow ~turn2 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\") | found h |> echo(text: \"one\") | found u |> echo(text: \"two\")")
subflow ~turn3 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\")\n| found t when t == \"nope\" |> echo(text: \"guarded-t3\")\n| found u |> echo(text: \"fallback-t3\")")
subflow ~turn4 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\")\n| found h |> echo(text: \"first\")\n | ok |> echo(text: \"second\")")
subflow ~turn5 click a branch to expand · @labels scroll to their anchor
run (br, source: "probe(path: \"hit\")\n| found a |> echo(text: \"on-found\")\n| absent b |> echo(text: \"on-absent\")")
flow ~create click a branch to expand · @labels scroll to their anchor
create (id: "b1", scope: "binds")

Test Configuration

MUST_RUN