012 multiple defaults error

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Expected compiler error

error[KORU002]: module not found: 'std/compiler'
  --> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_012_multiple_defaults_error/input.kz:0:1
    |
  0 | ~import std/compiler
    | ^
  hint: check the import path, koru.json paths, and KORU_STDLIB/KORU_PATH environment variables

Error Verification

Actual Compiler Output

error[KORU002]: module not found: 'std/compiler'
  --> tests/regression/500_INTEGRATION_TESTING/510_NEGATIVE_TESTS/510_012_multiple_defaults_error/input.kz:0:1
    |
  0 | ~import std/compiler
    | ^
  hint: check the import path, koru.json paths, and KORU_STDLIB/KORU_PATH environment variables

Imported Files

lib/extra_build.kz

Test Configuration

MUST_FAIL