015 when clauses

✗ Failing This test is currently failing.

Failed: frontend

Failure Output

Showing last 10 of 25 lines
 11 | |> _
    | ^
  hint: '_' has meaning only as `| branch [binding] |> _`. Outside a branch handler body — top-level void chain, split-pipeline tail — `|> _` is meaningless.

error[KORU010]: '_' is only legal as the body of a branch handler
  --> tests/regression/300_ADVANCED_FEATURES/310_COMPTIME/310_015_when_clauses/input.kz:15:0
    |
 15 | |> _
    | ^
  hint: '_' has meaning only as `| branch [binding] |> _`. Outside a branch handler body — top-level void chain, split-pipeline tail — `|> _` is meaningless.

Code

input.kz

Expected output

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

Test Configuration

MUST_RUN