164 release rejects imported prototype

✓ Passing Passing: the compiler rejects this program as expected.

Code

input.k

Supporting Files

lib/proto.k

Actual compiler output

error[KORU029]: imported module 'app.lib.proto' is marked ~[prototype] and cannot be built for release (--release) — a release build rejects any prototype module in the graph; make it release-clean or drop --release
  --> /Users/larsde/src/koru/tests/regression/400_RUNTIME_FEATURES/400_164_release_rejects_imported_prototype/lib/proto.k:1:0
    |
  1 | 
    | ^

❌ Compiler coordination error: prototype module rejected in release build
   (set KORU_BACKEND_TRACE=1 for the backend return trace)

Must fail at runtime:

Program must error when executed.

Error output must contain

KORU029

Flows

flow ~greet click a branch to expand · @labels scroll to their anchor
greet (name: "world")

Test Configuration

MUST_ERROR

Compiler Flags:

--release