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 }
| done {}

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

Test Configuration

Expected Behavior:

BACKEND_RUNTIME_ERROR

Expected Error:

unknown branch 'success'