✓
Passing This code compiles and runs correctly.
Code
// codemod:skip — negative test: keeps the removed `println` call to exercise removal.
// PIN: `std/io:println` is DELETED (subsumed by print.ln / print). Calling it now
// fails loudly as KORU040 "unknown event" at compiler coordination. GREEN = removed.
~import std/io
const msg: []const u8 = "println is gone";
~std/io:println(text: msg)
Must fail at runtime:
Program must error when executed.
Error Verification
Actual Compiler Output
error[KORU040]: unknown event 'std.io:println'
--> tests/regression/000_CORE_LANGUAGE/010_BASIC_SYNTAX/010_054_println_removed/input.kz:9:0
❌ Compiler coordination error: Unknown event referenced
error: CompilerCoordinationFailed
/Users/larsde/src/koru/tests/regression/000_CORE_LANGUAGE/010_BASIC_SYNTAX/010_054_println_removed/backend.zig:94:13: 0x1051b21b7 in emit (backend)
return error.CompilerCoordinationFailed;
^
/Users/larsde/src/koru/tests/regression/000_CORE_LANGUAGE/010_BASIC_SYNTAX/010_054_println_removed/backend.zig:190:28: 0x1051b2ea3 in main (backend)
const generated_code = try RuntimeEmitter.emit(compile_allocator, final_ast);
^Test Configuration
MUST_FAIL