307 blank line severs chain orphan run

✓ 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 11-12)
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_307_blank_line_severs_chain_orphan_run/input.k:11:5
    |
 11 |     |> std/io:print.ln("b")
    |     ^
  hint: blank lines end a chain — the construct at line 9 cannot be continued across one. Remove the blank line, or start a new flow here. (a `|>` line chains onto the step directly above it)

Frontend must reject with:

CONTAINS error[KORU010]
CONTAINS 2 stray continuation lines without a Koru construct (lines 11-12)
CONTAINS blank lines end a chain
ERROR_AT 11
NOT_CONTAINS output_emitted.zig

Flows

flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "a")

Test Configuration

MUST_ERROR