✓
Passing This code compiles and runs correctly.
Code
// Test: Using 'string' type (habit from other languages)
// Parser catches 'string' and suggests '[]const u8'
~event greet { name: string }
| done {}
Expected Output
error[PARSE003]: Unknown type 'string'. In Zig/Koru, use '[]const u8' for strings
--> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_069_string_type/input.kz:6:1
|
6 | | done {}
| ^
Test Configuration
Expected Behavior:
FRONTEND_COMPILE_ERROR