330 each produce redundant rename refused

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

Code

input.k

Actual compiler output

error[PARSE001]: Redundant rename 'i: i' in a produce stage — write '{ i }' (the pun already means this).
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_330_each_produce_redundant_rename_refused/input.k:8:6
    |
  8 |     ! each i { i: i } |> std/io:print.ln("{{ i:d }}")
    |      ^

Frontend must reject with:

CONTAINS error[PARSE001]
CONTAINS Redundant rename 'i: i'
NOT_CONTAINS output_emitted.zig

Test Configuration

MUST_ERROR