✓
Passing This code compiles and runs correctly.
Code
// ============================================================================
// VERIFIED REGRESSION TEST - DO NOT MODIFY WITHOUT DISCUSSION
// ============================================================================
// Test: Immediate subflow with field mapping
// Feature: ~event_name = branch { output-field: input_field }
// Verifies: Input fields are accessible and mapped to output correctly
// ============================================================================
~import std/io
// Event: takes a name, produces a greeting message
~event greet { name: []const u8 }
| greeting []const u8
// Subflow implementation: maps input directly to output
~greet => greeting name
// Test: call greet with "World" and print the resulting message
~greet(name: "World")
| greeting g |> std/io:print(g)Actual
WorldExpected output
WorldTest Configuration
MUST_RUN