generated/1856/insert an indicator/5

sha256 a202ddc4235e804b6559c3bfbcdb377493e308551b8bd647b09d68d792ad8a9a

Document

---
# c1
?	"base"
:?
     &m1
     # c2
     ?	"b0"
     :	1
     # c3
     ?	"b1"
     :	9
# c4
?	"item"
:
     # c5
     ?	<<
     :	*m1
     # c6
     ?	"d0"
     :	-8
     # c7
     ?	!foo "b0"
     :	99

Corpus

grammarinvalid
tagsnone
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml yaml.v3

refuse by the parser

perlref

accept

yamlstar

refuse by the loader

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted, explained accept n/i n/i explicit-value-compact-key: the parser follows [185] s-l+block-indented to the letter after the ':' of an explicit entry: s-indent(0) and a compact mapping whose key is a lone '?', so "? a\n:?" is accepted. The '-' of a block sequence entry has a lookahead against this, and the ':' has none; the corpus reads the document as invalid, as libfyaml, yaml.v3 and go-yaml do
libfyaml rejected, invalid refuse by the parser not scored n/i stdin:4:1: error: could not find expected ':'
yamlstar rejected, invalid refuse by the loader not scored n/i Error: Unknown tag: !foo
yaml.v3 rejected, invalid refuse by the parser not scored refused yaml.v3: yaml: line 3: found character that cannot start any token
go-yaml rejected, invalid refuse by the parser not scored refused [4:1] a line at the column of a mapping must open an entry: a key and its ':'

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