✓
Passing This code compiles and runs correctly.
Code
// Test: for inside if - depth-first transform ordering
// Inner for should transform before outer if
~import std/control
~import std/io
const std = @import("std");
~tor start {}
~proc start|zig {
}
// If contains for loop
// Both should transform to native Zig constructs
~start() |> if(true)
| then |> for(&[_]i32{1, 2, 3})
! each i |> std/io:print.ln("{{ i:d }}")
Actual
1
2
3
Flows
flow ~start click a branch to expand · @labels scroll to their anchor
start
Test Configuration
MUST_RUN