✓
Passing This code compiles and runs correctly.
Code
// Test: nested for loops - depth-first transform ordering
// Inner for should transform before outer for
~import std/control
const std = @import("std");
~event start {}
~proc start|zig {
}
// Outer for contains inner for
// Both should transform to Zig for loops
~start() |> for(&[_]i32{1, 2})
! each _ |> for(&[_]i32{10, 20})
! each _ |> _
| done |> _
| done |> _
Test Configuration
MUST_RUN