021 print ln bare expression

✓ Passing This code compiles and runs correctly.

Code

// Test: print.ln bare expression shorthand
//
// std.io:print.ln(expr:fmt) works without "{{ }}" wrapping.
// A non-quoted argument is a bare expression, not a string literal.

~import "$std/io"

~event compute {}
| done { count: i32, label: []const u8 }

~compute = done { count: 7, label: "hello" }

~compute()
| done r |> std.io:print.ln(r.count:d)
    |> std.io:print.ln(r.label:s)
input.kz

Expected

7
hello

Actual

7
hello

Test Configuration

MUST_RUN