generated/765/alias renamed to nothing

sha256 872380ce407f8b2e5804c5f1402a55627e231e3f1a8eb361c5297ccc3f1f89cf

Document

---
# c1
? 'base'
: # c2
     &m4
     # c3
     ? 'o9'
     : 5 # c4
# c5
? 'o'
: # c6
     &m3 !!omap
     # c7
     - # c8
          # c9
          ? 'o0'
          : 7 # c10
     # c11
     - # c12
          # c13
          ? 'o1'
          : 1 # c14
     # c15
     - # c16
          # c17
          ? <<
          : *m4 # c18
# c19
? 'again'
: *unanchored # c20
# c21
? 'p'
: # c22
     !!pairs
     # c23
     - # c24
          # c25
          ? 'p0'
          : 1 # c26
     # c27
     - # c28
          # c29
          ? 'p0'
          : 2 # c30

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
encoding/bomopen from parse on: each parser's stance decides
featuresbreak/cr encoding/byte-order-mark node/alias node/anchor node/tag-shorthand presentation/comment-above presentation/comment-inline presentation/document-marker presentation/explicit-key presentation/plain presentation/property-line presentation/quoted-single value/int value/mapping value/merge-key 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 [30:4] could not find alias "unanchored"

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