generated/1548/a duplicate entry appended

sha256 62b767a8343d4eb6e5afcc0753853c5f677d266bb3231a1f4c87d335bfab8bca

Document

---
&a4 {<<: {"merged0": 7, "merged0": "dup"}, "`a": {!<tag:yaml.org,2002:merge> <<: {"merged3": -7}, "R m": &a2 [&a1 ""], !<tag:yaml.org,2002:str> "h": &a3 false, {"-a": 91}: .inf}} # c1

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/comment-inline presentation/document-marker presentation/flow-collection presentation/plain presentation/quoted-double value/bool value/float value/float-special value/int value/mapping value/merge-key value/non-string-key value/sequence 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: 'mapping'
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: invalid map key: map[string]interface {}{"-a":91}
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 [2:25] mapping key "merged0" already defined at [2:11]

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