018 with after equals mangles name

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

Code

input.k

Supporting Files

alpha.k

Actual compiler output

error[PARSE003]: annotation '[with]' after '=' attaches to nothing — annotations on a subflow impl go before the name
  --> tests/regression/600_STDLIB/641_PARSER/641_018_with_after_equals_mangles_name/input.k:11:9
    |
 11 | start = [with]app/alpha:ping(msg: "x"): s |> std/io:print.ln("{{ s:s }}")
    |         ^
  hint: write '[with]start = …' — the impl carries the annotation and the head call it names supplies the open vocabulary

Frontend must reject with:

CONTAINS annotations on a subflow impl go before the name

Test Configuration

MUST_ERROR

koru.json: