287 capture seed fused after typed value refused

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

Code

input.k

Actual compiler output

error[KORU164]: ~capture seed: missing comma — 'extra: 0[i64]' 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_287_capture_seed_fused_after_typed_value_refused/input.k:10:0

Must fail at runtime with:

CONTAINS error[KORU164]
CONTAINS missing comma
CONTAINS 'extra: 0[i64]'

Flows

subflow ~tick click a branch to expand · @labels scroll to their anchor
capture (source: acc: 0[i64] extra: 0[i64])
flow ~tick click a branch to expand · @labels scroll to their anchor
tick (n: 1)

Test Configuration

MUST_ERROR