generated/151/alias renamed to nothing

sha256 997e98453c622811252177042d90ebf3f681d67a3dbabaf1cd0030b6ca7d7902

Document

? 'base'
: &m1 # c1
     ? 'b0'
     : -3 # c2
? 'item'
: # c3
     ? <<
     : *unanchored # c4
     ? 'd0'
     : -1 # c5
     ? !foo 'd1'
     : !!int -7 # c6
     ? 'b0'
     : !!int 0o143 # c7

Corpus

grammarvalid, vouched for up to construct
anchor/alias-undefinedreject from compose on, 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none
featuresbreak/cr node/alias node/anchor node/tag-local node/tag-shorthand presentation/comment-inline presentation/explicit-key presentation/number-octal presentation/plain presentation/quoted-single value/int value/mapping value/merge-key value/non-string-key
meaning (none stated)

Answer groups

verdict split

go-yaml yaml.v3

refuse by the composer

libfyaml

accept, then the loader refuses past parse

perlref yamlstar

refuse by the parser

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref rejected, settled refuse by the parser n/i n/i anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none. The parser checks this compose rule at parse
libfyaml accepted refuse by the loader not scored n/i ValueError: Failed to parse YAML/JSON
yamlstar rejected, settled refuse by the parser not scored n/i anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none Error: parse: Parser finished before end of input
yaml.v3 rejected, settled refuse by the composer not scored refused anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none yaml.v3: yaml: unknown anchor 'unanchored' referenced
go-yaml rejected, settled refuse by the composer not scored refused anchor/alias-undefined: 7.1: an alias refers to the most recent preceding node having the given anchor, and there is none [8:9] could not find alias "unanchored"

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