generated/2616/a collection key written twice

sha256 9a6d93fd0b2d29a5393c888fa57f13db322cd90df73e6fb2da59450bd4d627b5

Document

---
!<tag:yaml.org,2002:set>
base:
  &m1
  b0: 0o11
  b1: 0o0
  b2: -1
item:
  !<tag:yaml.org,2002:merge> <<:
    !<tag:yaml.org,2002:map>
    c0: 0o1
    c1: 0o1
  d0: !<tag:yaml.org,2002:int> 0o5
?
  - >-
    base
: >-
  dup
?
  - >-
    base
: >-
  dup2

Corpus

grammarvalid, vouched for up to construct
encoding/bomopen from parse on: each parser's stance decides
key/duplicatereject from parse on, 3.2.1.1: it is an error for two equal keys to appear in the same mapping node
featuresencoding/byte-order-mark node/anchor node/tag-verbatim presentation/block-folded presentation/document-marker presentation/explicit-key presentation/key-below-the-indicator presentation/number-octal presentation/plain presentation/property-line value/int value/mapping value/merge-key value/non-string-key value/string
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3 yamlstar

refuse by the loader

libfyaml

accept, then the loader refuses past parse

perlref

accept

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i TypeError: unhashable type: 'sequence'
yamlstar rejected, explained refuse by the loader not scored n/i tag-without-constructor: the loader builds values for the core schema's tags only, and rejects any other tag, local or global: "!foo", "!!merge", "!!timestamp", "!!binary" Error: Unknown tag: tag:yaml.org,2002:merge
yaml.v3 rejected, settled refuse by the loader not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node yaml.v3: yaml: unmarshal errors:
go-yaml rejected, settled refuse by the loader not scored refused key/duplicate: 3.2.1.1: it is an error for two equal keys to appear in the same mapping node [15:3] a sequence cannot be a JSON key

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.