004 branch when clauses

✓ Passing This code compiles and runs correctly.

Code

// ============================================================================
// Test 055: Branch when clauses
// Tests that the parser accepts multiple continuations for the same branch
// with when clauses (guard expressions)
// ============================================================================

~event check { x: i32, y: i32 }
| high { x: i32 }
| low { y: i32 }

// Flow with multiple continuations for same branch using when clauses
~check(x: 10, y: 5)
| high h when (h.x > 10) |> _
| high h when (h.x > 5) |> _
| high _ |> _
| low _ |> _
input.kz