061 unknown branch in flow

✓ Passing This code compiles and runs correctly.

Code

// Test: Flow handles branch that doesn't exist on event
// GOOD: Backend catches with KORU021/KORU022

~event foo { x: i32 }

~foo(x: 1)
| success |> _
input.kz

Must fail at runtime:

Program must error when executed.

Test Configuration

Expected Error:

has no branch 'success'