050 import empty path

✓ Passing This code compiles and runs correctly.

Code

// Test: Import with empty path
// GOOD: Frontend catches with clear error about $ alias

~import ""
input.kz

Expected Output

error[PARSE003]: import paths must start with $ alias (e.g., '$std/io', '$src/helper') - define aliases in koru.json
  --> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_050_import_empty_path/input.kz:5:1
    |
  5 | ~import ""
    | ^

Test Configuration

Expected Behavior:

FRONTEND_COMPILE_ERROR