174 multiline chain eats following arms

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

Code

input.k

Actual compiler output

error[KORU010]: stray continuation line without Koru construct
  --> 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 }}")
    | ^

error[KORU010]: stray continuation line without Koru construct
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_174_multiline_chain_eats_following_arms/input.k:45:1
    |
 45 | | hi b |> std/io:print.ln("hi {{ b:d }}")
    | ^

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