285 ctor value fused after index refused

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

Code

input.k

Actual compiler output

error[PARSE003]: missing comma — 'b: 2' began a new field but was read as part of the field above it; separate fields with commas
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_285_ctor_value_fused_after_index_refused/input.k:13:1
    |
 13 | f => ok { a: xs[i] b: 2 }
    | ^

Frontend must reject with:

CONTAINS error[PARSE003]
CONTAINS missing comma
CONTAINS 'b: 2'
ERROR_AT 13
NOT_CONTAINS output_emitted.zig

Test Configuration

MUST_ERROR