038 nested for simple

✓ 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 {
}

// 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 |> _
input.kz

Test Configuration

MUST_RUN