002 unclosed branch brace

✓ Passing This code compiles and runs correctly.

Code

// Test 902: Unclosed branch payload brace
// Parser should reject with clear error about missing '}'

~event process { value: i32 }
| success {
    result: u32
| failure {}
input.kz

Test Configuration

Expected Behavior:

FRONTEND_COMPILE_ERROR

Expected Error:

error: expected '}', found '|'