bare proc call site fails

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

Code

input.kz

Actual compiler output

error[KORU110]: tor 'compute' is called but its ~proc declaration has no |variant tag — bare procs are unresolvable
  --> tests/regression/300_ADVANCED_FEATURES/370_VARIANTS/8211_bare_proc_call_site_fails/input.kz:17:0
    |
 17 | ~compute()
    | ^
  hint: tag the proc with a host: `~proc compute|zig { ... }` (or another host like |gpu, |js)

Frontend must reject with:

CONTAINS error[KORU110
CONTAINS bare procs are unresolvable

Expected compiler error

error[KORU110]: tor 'compute' is called but its ~proc declaration has no |variant tag — bare procs are unresolvable
  --> tests/regression/300_ADVANCED_FEATURES/370_VARIANTS/8211_bare_proc_call_site_fails/input.kz:17:0
    |
 17 | ~compute()
    | ^
  hint: tag the proc with a host: `~proc compute|zig { ... }` (or another host like |gpu, |js)

Flows

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

Test Configuration

MUST_ERROR