171 effect marker on outcome branch rejected

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

Code

input.k

Actual compiler output

error[KORU025]: branch 'item' is declared as terminal `|` but the handler uses effect `!`
  --> tests/regression/400_RUNTIME_FEATURES/400_171_effect_marker_on_outcome_branch_rejected/input.k:16:8
  hint: match the handler glyph to the declaration: write `| item ... |> ...` to handle this branch

❌ Compiler coordination error: Incomplete branch coverage
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Must fail at runtime:

Program must error when executed.

Error output must contain

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

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (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

MUST_ERROR