133 instantiation param mismatch

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

error[PARSE003]: single continuation branch 'alt' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> <type>`
  --> tests/regression/000_CORE_LANGUAGE/035_TYPE_SYSTEM/030_133_instantiation_param_mismatch/input.kz:23:1
    |
 23 | ~event get-altitude {}
    | ^

Code

input.kz

Backend must reject with:

CONTAINS error[KORU
CONTAINS Meters
CONTAINS Feet

Error Verification

Expected Error Pattern

MUST_FAIL

Actual Compiler Output

error[PARSE003]: single continuation branch 'alt' carrying a payload is a one-variant tag union — declare the single output as a bare return instead: `-> <type>`
  --> tests/regression/000_CORE_LANGUAGE/035_TYPE_SYSTEM/030_133_instantiation_param_mismatch/input.kz:23:1
    |
 23 | ~event get-altitude {}
    | ^

Flows

flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: Meters, source: v: i64,)
flow ~struct click a branch to expand · @labels scroll to their anchor
struct (expr: Feet, source: v: i64,)
flow ~get-altitude click a branch to expand · @labels scroll to their anchor
get-altitude

Test Configuration

MUST_FAIL