167 prototype scope must not leak across modules

✗ Failing This test is currently failing.

Failed: must-fail-passed

Failure Output

📋 prototype gaps — event 'greet' (/Users/larsde/src/koru/tests/regression/400_RUNTIME_FEATURES/400_167_prototype_scope_must_not_leak_across_modules/helper.kz:17):
     hole       — 'err' unhandled → @panic if reached
🎯 Compiler coordination: Passes: 17 (flow-based: frontend, analysis, emission)

Code

input.kz

Must fail at runtime:

Program must error when executed.

Error Verification

Actual Compiler Output

📋 prototype gaps — event 'greet' (/Users/larsde/src/koru/tests/regression/400_RUNTIME_FEATURES/400_167_prototype_scope_must_not_leak_across_modules/helper.kz:17):
     hole       — 'err' unhandled → @panic if reached
🎯 Compiler coordination: Passes: 17 (flow-based: frontend, analysis, emission)

Imported Files

helper.kz

Test Configuration

MUST_FAIL

Expected Error:

KORU022