✓
Passing This code compiles and runs correctly.
Code
// TEST: Auto-synthesized proc for passthrough events
//
// When an event has:
// - Single output branch
// - Input and output fields match exactly (name + type)
// - No proc defined
//
// The compiler should synthesize a passthrough proc.
~import "$std/io"
// Event with matching input/output - NO PROC DEFINED
~pub event passthrough { msg: []const u8 }
| done d |> verify(msg: d)
Test Configuration
Expected Behavior:
42