✗
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
// Test when clauses - conditional tap execution
const std = @import("std");
~import std/taps
~tor process { value: usize }
|> alert(result: d)
|> _
// Test with low value (should not trigger alert)
~process(value: 10)
|> _
// Test with high value (should trigger alert)
~process(value: 30)
|> _Expected output
Processed: 20
Processed: 60
Alert: High value detected! Result was: 60Test Configuration
MUST_RUN