✓
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
Must fail at frontend compile:
Parsing or type-checking must reject the program.
Expected compiler error
error[PARSE004]: unmatched '{' in event shape
--> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_001_unclosed_input_brace/input.kz:4:1
|
4 | ~event write {
| ^
Test Configuration
Expected Error:
error[PARSE004]: unmatched '{' in event shape