344 comma less field list names missing comma

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

Code

input.k

Actual compiler output

error[KORU161]: std/store:new(tasks): missing comma — 'done: i64' began a new field but was read as part of the field above it; separate fields with commas
  --> tests/regression/600_STDLIB/690_STORE/690_344_comma_less_field_list_names_missing_comma/input.k:13:0

Must fail at runtime with:

CONTAINS missing comma
CONTAINS 'done: i64'

Flows

flow ~new click a branch to expand · @labels scroll to their anchor
new (tasks, capacity: 8, source: label: *std/string:String<std/string:instance!> done: i64)
flow ~print.ln click a branch to expand · @labels scroll to their anchor
print.ln (expr: "unreachable")

Test Configuration

MUST_ERROR