✓
Passing This code compiles and runs correctly.
Code
// Test: `|template(once)|zig` actually performs Liquid interpolation. The body
// references `{{ proc_name }}` which the template processor substitutes
// with the proc's path before stripping `template` and emitting Zig.
//
// The rendered proc body prints the literal "ping" — which is the
// proc's name, supplied through the template context.
~import "$std/io"
const std = @import("std");
~pub event ping {}
~proc ping|template(once)|zig {
std.debug.print("proc was: {{ proc_name }}\n", .{});
}
~ping()
Actual
proc was: ping
Expected output
proc was: ping
Test Configuration
MUST_RUN