✓
Passing This code compiles and runs correctly.
Code
// Proc-backed bare return: `-> T` with a ~proc impl (the dominant impl style in
// the corpus). The proc returns the bare value directly; Output is i32, no union.
~import std/io
~pub event double { a: i32 } -> i32
~proc double|zig {
return a * 2;
}
~double(a: 21): d |> std/io:print.ln("{{ d:d }}")
Actual
42
Expected output
42
Flows
flow ~double click a branch to expand · @labels scroll to their anchor
double (a: 21)
Test Configuration
MUST_RUN