162 release rejects prototype module

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at runtime:

Program must error when executed.

Error Verification

Actual Compiler Output

error[KORU029]: this module is marked ~[prototype] and cannot be built for release (--release) — handle every branch and remove ~[prototype], or drop --release for a dev build
  --> release-gate:0:0

❌ Compiler coordination error: prototype module rejected in release build
error: CompilerCoordinationFailed
/Users/larsde/src/koru/tests/regression/400_RUNTIME_FEATURES/400_162_release_rejects_prototype_module/backend.zig:95:13: 0x1050139d3 in emit (backend)
            return error.CompilerCoordinationFailed;
            ^
/Users/larsde/src/koru/tests/regression/400_RUNTIME_FEATURES/400_162_release_rejects_prototype_module/backend.zig:202:28: 0x105014b63 in main (backend)
    const generated_code = try RuntimeEmitter.emit(compile_allocator, final_ast);
                           ^

Flows

flow ~run click a branch to expand · @labels scroll to their anchor
run

Test Configuration

MUST_FAIL

Compiler Flags:

--release

Expected Error:

KORU029