generated/2377/alias renamed to nothing

sha256 652ec21b7ec4872ca78ac2ccda7632d24cddabf45a2e4f8b4d897cfba4fd12db

Document

%TAG !n-1! tag:yaml.org,2002:
---
! o: !n-1!omap &m3 # c1
  - # c2
    o0: -2 # c3
  - # c4
    o1: -5 # c5
again: *unanchored # c6
p: !n-1!pairs # c7
  - # c8
    p0: 1 # c9
  - # c10
    p0: 2 # c11

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-handle node/tag-non-specific presentation/comment-inline presentation/document-marker presentation/plain presentation/tag-before-anchor presentation/tag-directive value/int value/mapping value/non-string-key value/sequence
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.