shape/tag/a set tag over a scalar

sha256 8c181137da7c175b964cafd0749541b78090e91d0345315563131d2cafd588a0

Document

a: !!set 1

Corpus

grammarvalid, vouched for up to construct
tag/kind-mismatchopen 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 yamlstar

refuse by the loader

libfyaml perlref yaml.v3

accept

value split

libfyaml

{"a":1}

yaml.v3

{"a":"1"}

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept not scored n/i
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:set
yaml.v3 accepted accept not scored same
go-yaml rejected, as declared refuse by the loader not scored refused tag/kind-mismatch: go-yaml refuses this on purpose [1:4] !!set does not support this kind of node

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