✓
Passing This code compiles and runs correctly.
Code
// Test: Field name starting with a number
// Parser rejects field names that start with digits
~event foo { 123: i32 }
| done {}
Expected Output
error[PARSE003]: field name cannot start with a digit
--> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_032_numeric_field_name/input.kz:6:1
|
6 | | done {}
| ^
Test Configuration
Expected Behavior:
FRONTEND_COMPILE_ERROR