296 ctor typeless field refused

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

Code

input.k

Actual compiler output

error[PARSE003]: field 'b' has no value — a field is `name: value`; `b:` dropped the value
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_296_ctor_typeless_field_refused/input.k:10:1
    |
 10 | f => ok { a: 1, b: }
    | ^

Frontend must reject with:

CONTAINS error[PARSE003]
CONTAINS field 'b' has no value
ERROR_AT 10
NOT_CONTAINS output_emitted.zig

Test Configuration

MUST_ERROR