generated/2350/alias renamed to nothing

sha256 820d98991bf56ddffd72a66e7c883c04d7dc043c34f4c7c8fe23d40d3ab69223

Document

%YAML 1.1
---
# c1
"base": &m4
      # c2
      "o9": 0
# c3
"o": !!omap &m3
      # c4
      -
            # c5
            "o0": -5
      # c6
      -
            # c7
            "o1": 1
      # c8
      -
            # c9
            "o8": *m4
# c10
"again": *unanchored
# c11
"s": !!set
      # c12
      "s0": null
      # c13
      "s1": null
      # c14
      "s2": null

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-shorthand presentation/comment-above presentation/document-marker presentation/plain presentation/quoted-double presentation/tag-before-anchor presentation/yaml-directive value/int value/mapping value/null 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 [22:11] could not find alias "unanchored"

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