171 effect marker on outcome branch rejected

✓ Passing This code compiles and runs correctly.

Code

input.k

Must fail at runtime:

Program must error when executed.

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: todos, capacity: 8, source: label: *std/string:String<std/string:instance!>)
flow ~from-page click a branch to expand · @labels scroll to their anchor
from-page (text: "x")

Test Configuration

Expected Error:

branch 'item' is declared as terminal `|` but the handler uses effect `!`