037 nested if simple

✓ Passing This code compiles and runs correctly.

Code

// Simplest nested if test - no print.ln, just nested if's

~import "$std/control"

const std = @import("std");

~event start {}

~proc start {
}

// Outer if contains inner if
// Both should transform to Zig if statements
~start() |> if(true)
| then |> if(false)
    | then |> _
    | else |> _
| else |> _
input.kz

Test Configuration

MUST_RUN