shape/merge/a merge from an anchored mapping

sha256 d0dfceca97ccbc36c2659673e984f1b4941fcff7ba154a70162d0f6014ed8a0d

Document

base: &b {a: 1}
d:
  <<: *b
  c: 2

Corpus

grammarvalid, vouched for up to construct
merge/keyopen from construct on: each parser's stance decides
featuresnone
meaning (none stated)

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml libfyaml

{"base":{"a":1},"d":{"\u003c\u003c":{"a":1},"c":2}}

yaml.v3 yamlstar

{"base":{"a":1},"d":{"a":1,"c":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 accept not scored n/i
yaml.v3 accepted accept not scored same
go-yaml accepted accept not scored same

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