301 stray effect arm line refused dot k

✓ 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_301_stray_effect_arm_line_refused_dot_k/input.k:7:1
    |
  7 | ! whatever b |> std/io:print.ln("x")
    | ^
  hint: blank lines end a chain — the construct at line 5 cannot be continued across one. Remove the blank line, or start a new flow here. (a `! name` line is an obligation arm — it attaches to the construct directly above it)

Frontend must reject with:

CONTAINS error[KORU010]
CONTAINS stray continuation
ERROR_AT 7
NOT_CONTAINS output_emitted.zig

Test Configuration

MUST_ERROR