107 comptime module tap wall

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

Code

input.kz

Supporting Files

test_lib/tapmod.kz

Actual compiler output

error[KORU141]: taps are not supported in a ~[comptime] module — the comptime pipeline does not expand transforms (module 'app.test_lib.tapmod')
  --> /Users/larsde/src/koru/tests/regression/300_ADVANCED_FEATURES/310_COMPTIME/310_107_comptime_module_tap_wall/test_lib/tapmod.kz:13:0
    |
 13 | }
    | ^
  hint: drop the tap, or remove the module's comptime mode so the tap runs at runtime (see std/profiler)

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Expected patterns

Each line is a regex that must match the compiler error output.

taps are not supported in .*comptime.* module

Flows

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

Test Configuration

MUST_ERROR