shape/tag/an omap key written twice across two entries

sha256 7da9dda9bc05b6f375efdc9a985db905bc39b59f2280ac20755f546b4422dcfb

Document

!!omap [{x: 1}, {x: 2}]

Corpus

grammarvalid, vouched for up to construct
key/duplicate-after-resolutionreject from compose on, 3.2.1.1: keys are equal when they resolve to the same node, however they are written
tag/omap-not-a-sequence-of-pairsopen from construct on: each parser's stance decides
tag/secondaryaccept from compose on, 6.8.2.2: the secondary handle is declared by default as tag:yaml.org,2002:
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the loader

libfyaml perlref yaml.v3 yamlstar

accept

value

libfyaml yaml.v3 yamlstar

[{"x":1},{"x":2}]

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
yamlstar accepted, against the rules accept not scored n/i key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written
yaml.v3 accepted, against the rules accept not scored same key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written
go-yaml rejected, settled refuse by the loader not scored refused key/duplicate-after-resolution: 3.2.1.1: keys are equal when they resolve to the same node, however they are written [1:18] mapping key "x" already defined at [1:10]

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