generated/1049/alias renamed to nothing

sha256 3c11e1a7538dc69fcefa93a80b41a5727c1a0d91e0cdbab16c6e658aad7559be

Document

# c1
'base':
 &m1
 # c2
 'b0': -6
 # c3
 'b1': 0
# c4
!foo 'item':
 # c5
 !!merge <<:
  # c6
  - *unanchored
  # c7
  -
   # c8
   !!str 'c0': !!int -7
 # c9
 'd0': -9
 # c10
 !!str 'd1': -5
 # c11
 'b0': 99

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/crlf node/alias node/anchor node/tag-local node/tag-shorthand presentation/comment-above 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

accept

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 tag: !foo
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 [13:6] could not find alias "unanchored"

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