029 dup tor across facets refused

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

Code

input.kz

Supporting Files

helper.kjs
helper.kz

Actual compiler output

error[KORU202]: tor 'greet' already declared — redeclared by companion 'helper.kz'
  --> /Users/larsde/src/koru/tests/regression/100_MODULE_SYSTEM/140_FILE_LAYOUT/140_029_dup_tor_across_facets_refused/helper.kz:3:0
  hint: a module declares each tor once — keep each declaration in one place

Frontend must reject with:

CONTAINS error[KORU202]
CONTAINS 'greet'
CONTAINS helper.kz
ERROR_AT 3

Flows

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

Test Configuration

MUST_ERROR

koru.json: