✓
Passing This code compiles and runs correctly.
Code
// Test 310_045: When guards on metatype fields (simplified)
// Verify that 'when' clauses work on metatype observers
// This is a placeholder - when guard evaluation with metatypes is TBD
~import std/taps
~tor hello { }
~tor logger { msg: string }
~[pure]proc hello|zig {
}
~[pure]proc logger|zig {
}
// For now, just verify multiple Profile observations work
// When guards on metatypes are a future feature
~tap(hello -> *)
| Profile p |> logger(msg: p.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