✓
Passing This code compiles and runs correctly.
Code
// Test 310_044: Multiple metatype observers on same transition
// Both Profile and Transition metatypes should fire on the same event
// This verifies that multiple metatype bindings work together
~import std/taps
~tor hello { }
~tor logger { msg: string }
~[pure]proc hello|zig {
}
~[pure]proc logger|zig {
}
// Observe with both Profile and Transition on same event
// Both metatype handlers should fire - note multiple branch handlers in one tap()
~tap(hello -> *)
| Profile p |> logger(msg: p.source)
| Profile p2 |> logger(msg: p2.source)
~hello()
Flows
flow ~tap click a branch to expand · @labels scroll to their anchor
tap (hello -> *)
flow ~hello click a branch to expand · @labels scroll to their anchor
hello
Test Configuration
MUST_RUN