✓
Passing This code compiles and runs correctly.
Code
// Test: Verify transforms are invoked DEPTH-FIRST
// Both outer and inner if are in pipelines (not top-level transforms)
~import std/io
~import std/control
const std = @import("std");
~event start {}
~proc start|zig {
}
// Nested if: both in pipeline steps
~start() |> if(true)
| then |> if(true)
| then |> std/io:print.ln("inner-then")
| else |> std/io:print.ln("inner-else")
| else |> std/io:print.ln("outer-else")
Actual
inner-then
Expected output
inner-then
Test Configuration
MUST_RUN