094 reject bare arg name mismatch

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

Code

input.kz

Actual compiler output

error[PARSE006]: bare argument 'other' does not name a parameter of 'echo' — an explicit label is required
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_094_reject_bare_arg_name_mismatch/input.kz:30:0
    |
 30 | ~src(): other |> echo(other)
    | ^
  hint: write it with an explicit label: 'v: other'

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.

error\[
'other'

Flows

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

Test Configuration

MUST_ERROR