✓
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 {}
Expected
error[PARSE004]: unmatched '{' in branch payload shape
--> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_002_unclosed_branch_brace/input.kz:6:8
|
6 | | success {
| ^
Test Configuration
Expected Behavior:
FRONTEND_COMPILE_ERRORExpected Error:
error: expected '}', found '|'