✓
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
tor greet { name: string } -> string
// Subflow implementation: maps input directly to output
greet -> name
// Test: call greet with "World" and print the resulting message
greet(name: "World"): g |> std/io:print(g)Actual
WorldExpected output
WorldFlows
flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "World")
Test Configuration
MUST_RUN