030 compile memory budget refuses

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

Code

input.k

Actual compiler output

error[KORU174]: compilation exceeded its compile memory budget (1 MB) — the compiler refused; nothing was miscompiled and nothing ran. Raise the budget with --compile-mem-mb=<mb> or KORU_COMPILE_MEM_MB.

Must fail at runtime:

Program must error when executed.

Error output must contain

error[KORU174]: compilation exceeded its compile memory budget (1 MB)

Flows

flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "hello")

Test Configuration

MUST_ERROR

Compiler Flags:

--compile-mem-mb=1