generated/1546/alias renamed to nothing

sha256 d883ae8fac94e4650a6a20e062d80f579c4bdf6ed87cfb7ded5fbf42224ab22c

Document

%YAML 1.2
%TAG !x! tag:yaml.org,2002:
---
!x!str "base": # c1
     &m1
     "b0": -9 # c2
     "b1": -1 # c3
"item": # c4
     <<: # c5
          - *unanchored # c6
          - # c7
               "c0": -1 # c8
     "d0": 0 # c9
     "d1": 0 # c10

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
featuresnode/alias node/anchor node/tag-handle presentation/comment-inline presentation/document-marker presentation/plain presentation/property-line presentation/quoted-double presentation/tag-directive presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/sequence
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the composer

libfyaml

accept, then the loader refuses past parse

perlref

accept

yaml.v3

refuse by the parser

yamlstar

refuse by the loader

value

No source answered.

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted refuse by the loader not scored n/i ValueError: Failed to parse YAML/JSON
yamlstar rejected, settled refuse by the loader 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: Unknown anchor: unanchored
yaml.v3 rejected, settled refuse by the parser 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: found incompatible YAML document
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 [10:14] could not find alias "unanchored"

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