generated/2290/alias renamed to nothing

sha256 4d250d9ae3a49a757c401015b790e90c9b4941c829fb97a1f9cc93bb9e3c5e7f

Document

%YAML 1.2
---
# c1
'base': &m1	# c2
  # c3
  'b0':	-9	# c4
# c5
!<tag:yaml.org,2002:str> 'item':	# c6
  # c7
  &k1 <<: &m2	# c8
    # c9
    'c0':	-3	# c10
  # c11
  !<tag:yaml.org,2002:str> 'd0':	08	# c12
# c13
'again':	*unanchored	# c14

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-verbatim presentation/comment-above presentation/comment-inline presentation/document-marker presentation/plain presentation/quoted-single presentation/tab-separation presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key
meaning (none stated)

Answer groups

verdict split

go-yaml

refuse by the composer

libfyaml

accept, then the loader refuses past parse

perlref yaml.v3 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 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 [16:11] could not find alias "unanchored"

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