162 release rejects prototype module

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

Code

input.k

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
   (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 ~run click a branch to expand · @labels scroll to their anchor
run

Test Configuration

MUST_ERROR

Compiler Flags:

--release