135 effect arms exclusive with resume type

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

Code

input.kz

Actual compiler output

error[PARSE003]: effect branch cannot declare both a '-> T' resume and named resume arms - the arms are the resume
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_135_effect_arms_exclusive_with_resume_type/input.kz:5:1
    |
  5 | ! ask i32 -> i32
    | ^

Frontend must reject with:

CONTAINS cannot declare both a '-> T' resume and named resume arms

Test Configuration

MUST_ERROR