095 reject bare literal arg

✓ Passing This code compiles and runs correctly.

Code

input.kz

Must fail at frontend compile:

Parsing or type-checking must reject the program.

Error Verification

Actual Compiler Output

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

Flows

flow ~echo click a branch to expand · @labels scroll to their anchor
echo (5)

Test Configuration

MUST_FAIL