166 undeclared branch rejected without annotation

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

Code

input.k

Actual compiler output

error[KORU021]: event 'input:run' has no branch 'soon' (available: done, err)
  --> tests/regression/400_RUNTIME_FEATURES/400_166_undeclared_branch_rejected_without_annotation/input.k:21:0

❌ 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

KORU021

Flows

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

Test Configuration

MUST_ERROR