136 effect arms never nest effects

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

Code

input.kz

Actual compiler output

error[PARSE003]: effect branches never nest - composition lives in the '|' resume arms
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_136_effect_arms_never_nest_effects/input.kz:6:1
    |
  6 |     ! nested i32
    | ^

Frontend must reject with:

CONTAINS effect branches never nest

Test Configuration

MUST_ERROR