007 flow checker missing else

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Expected compiler error

error[KORU050]: branch 'high' has multiple when-clauses but no else case - add one continuation without 'when'
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_007_flow_checker_missing_else/input.kz:14:0
    |
 14 | ~check(x: 10, y: 5)
    | ^