303 tor name with call tail refused

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

Code

input.k

Actual compiler output

error[PARSE003]: tor name 'evil(x)' is not one a call site can spell — each '.'-separated piece is an identifier (or '*' for a transform glob)
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_303_tor_name_with_call_tail_refused/input.k:8:6
    |
  8 | tor evil(x) {}
    |      ^

Frontend must reject with:

CONTAINS error[PARSE003]
ERROR_AT 8
NOT_CONTAINS output_emitted.zig

Test Configuration

MUST_ERROR