043 inline continuation rejected

✓ 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[PARSE001]: Branch continuation '|' must start on a new line with proper indentation
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_043_inline_continuation_rejected/input.kz:15:21
    |
 15 | ~greet(name: "World") | done |> _
    |                     ^

Test Configuration

Expected Error:

Continuation '|' must start on a new line