✗
Failing This test is currently failing.
Failed: frontend
Failure Output
Showing last 10 of 25 lines
13 | |> _
| ^
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/400_RUNTIME_FEATURES/420_PERFORMANCE/915_when_at_callsite/input.kz:16:0
|
16 | |> _
| ^
hint: '_' has meaning only as `| branch [binding] |> _`. Outside a branch handler body — top-level void chain, split-pipeline tail — `|> _` is meaningless. Code
// Test 915: VERIFY when clause is at CALL SITE, not inside tap
//
// The ONLY way to verify this is to CHECK THE GENERATED CODE
// This test expects a specific pattern in output_emitted.zig
const std = @import("std");
~tor produce { value: u32 }
|> log(d.result)
|> _
~produce(value: 10)
|> _
~produce(value: 30)
|> _
Expected output
Produced: 20
Produced: 60
Logging: 60
Test Configuration
MUST_RUN