015 when clauses

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

Showing last 10 of 33 lines
error[KORU010]: '|>' cannot start a line
  --> tests/regression/300_ADVANCED_FEATURES/310_COMPTIME/310_015_when_clauses/input.kz:15:0
    |
 15 | |> _
    | ^^
  hint: '|>' is inline glue, never a line start — it joins a branch handler to its body and chains steps on one line.
        • Keep the chain inline regardless of length.
        • If a step ends in a multi-line { } block, put the next |> on the same line as that block's closing } :  pairwise { ... } |> self { ... }
        • Void chains may instead split into separate top-level statements (~A() then ~B()).
        • Drop a trailing |> _ if the head already suffices.

Code

input.kz

Expected output

Processed: 20
Processed: 60
Alert: High value detected! Result was: 60

Test Configuration

MUST_RUN