004 print ln template not used

✓ Passing This code compiles and runs correctly.

Code

// TEST: Binding used in print.ln template expression
//
// Verifies that bindings referenced inside {{ }} interpolation in print.ln
// are correctly recognized as used by the flow checker.
//
// The binding 'val' is used in {{ val.value:d }} and should NOT trigger KORU100.

~import "$std/io"

~event provide {}
| ok i64

~proc provide {
    return .{ .ok = 42 };
}

~provide()
| ok val |> std.io:print.ln("value is {{ val:d }}")

pub fn main() void {}
input.kz