001 unclosed input brace

✓ Passing This code compiles and runs correctly.

Code

// Test 901: Unclosed input brace
// Parser should reject with clear error about missing '}'

~event write {
    value: i32,
    note: []const u8
| success {}
input.kz

Expected

error[PARSE004]: unmatched '{' in event shape
  --> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_001_unclosed_input_brace/input.kz:5:1
    |
  5 | ~event write {
    | ^

Test Configuration

Expected Behavior:

FRONTEND_COMPILE_ERROR

Expected Error:

error[PARSE004]: unmatched '{' in event shape