✓
Passing This code compiles and runs correctly.
Code
// This should fail: malformed event syntax with missing closing brace
~tor broken-syntax { x: i32 | done i32
Must fail at frontend compile:
Parsing or type-checking must reject the program.
Expected compiler error
error[PARSE004]: unmatched '{' in tor shape
--> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_020_parse_errors/9101_missing_event_keyword/input.kz:2:1
|
2 | ~tor broken-syntax { x: i32 | done i32
| ^
Test Configuration
Expected Error:
error: