048 reject for terminal each

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

Code

input.kz

Actual compiler output

error[KORU025]: branch 'each' is declared as effect `!` but the handler uses terminal `|`
  --> tests/regression/300_ADVANCED_FEATURES/320_STDLIB/320_048_reject_for_terminal_each/input.kz:22:0
  hint: match the handler glyph to the declaration: write `! each ... |> ...` to handle this branch

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

Must contain:

error[KORU025]

Flows

flow ~start click a branch to expand · @labels scroll to their anchor
start

Test Configuration

MUST_ERROR