✓
Passing This code compiles and runs correctly.
Code
// Test: Void event chaining with nested continuations
// When chaining void -> event with branches, should parse nested continuations correctly
// Pattern: ~void_event() |> branching_event()
// | branch1 |> _
// | branch2 |> _
~event void_event {}
~event branching_event {}
| done {}
| error {}
// Chain void event to branching event, then handle branches with nested continuations
~void_event() |> branching_event()
| done |> _
| error |> _