256 dup field capture seed refused

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

Code

input.k

Actual compiler output

error[KORU164]: ~capture seed: field 'p' is bound twice — a field list takes each name once
  --> tests/regression/200_COMPILER_FEATURES/210_PARSER/210_256_dup_field_capture_seed_refused/input.k:8:0

Backend must reject with:

CONTAINS error[KORU164]
CONTAINS bound twice
ERROR_AT 8

Flows

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

Test Configuration

MUST_ERROR