174 multiline chain eats following arms

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

Code

input.k

Actual compiler output

error[KORU010]: 2 stray continuation lines without a Koru construct (lines 44-45)
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_174_multiline_chain_eats_following_arms/input.k:44:1
    |
 44 | | lo a |> std/io:print.ln("lo {{ a:d }}")
    | ^
  hint: the construct at line 43 ended before this line — a `| name` line is a branch arm — it attaches to the call whose result it dispatches on. Only comments may sit between a step and its continuation.

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Error output must contain

KORU010

Flows

flow ~seed click a branch to expand · @labels scroll to their anchor
seed

Test Configuration

MUST_ERROR