199 reject construct glyph on void effect

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

Code

input.k

Actual compiler output

error[KORU102]: `=>` inside `! beat` resumes the effect `beat`, but it declares no resume value or arms — there is nothing to construct. Branches of the enclosing flow come from the call's own branches (e.g. `| done => ...`); a value the handler hands back needs resume arms on the effect (`! beat T | a | b`)
  --> tests/regression/400_RUNTIME_FEATURES/400_199_reject_construct_glyph_on_void_effect/input.k:27:0

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

Must fail at runtime with:

CONTAINS KORU102
CONTAINS declares no resume value or arms

Flows

subflow ~beats click a branch to expand · @labels scroll to their anchor
for (0..n)
subflow ~drive click a branch to expand · @labels scroll to their anchor
beats (n: 2)
flow ~drive click a branch to expand · @labels scroll to their anchor
drive

Test Configuration

MUST_ERROR