150 effect required arm presence test rejected

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

Code

input.k

Actual compiler output

error[KORU131]: presence test on 'pong' — a required arm is always installed (exhaustiveness guarantees a handler), so `if(pong)` is always true; presence tests are for `?` optional arms
  --> tests/regression/400_RUNTIME_FEATURES/400_150_effect_required_arm_presence_test_rejected/input.k:12:0

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

Backend must reject with:

CONTAINS 'pong'
CONTAINS always installed

Flows

subflow ~ping click a branch to expand · @labels scroll to their anchor
if (pong)
flow ~ping click a branch to expand · @labels scroll to their anchor
ping (x: 41)

Test Configuration

MUST_ERROR