generated/2046/alias renamed to nothing

sha256 7fc6e28d64b6183ffa1d155ad9913952f9c4293372d724ebeb0ef1896b2b5521

Document

%YAML 1.1
---
&a3
# c1
- &a1
# c2
- *unanchored
# c3
-
     # c4
     !!merge <<: &a2
          # c5
          no: 01
     # c6
     -1_0: *a1
     # c7
     no: !!set
          # c8
          ?
               !!set
               # c9
               "\x31": 07
          :
          # c10
          *a1 : |-
               aliased
# c11
- *a2

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
featuresencoding/byte-order-mark node/alias node/anchor node/tag-shorthand presentation/block-literal presentation/comment-above presentation/document-marker presentation/escape-hex presentation/explicit-key presentation/key-below-the-indicator presentation/plain presentation/quoted-double presentation/yaml-directive value/int value/mapping value/merge-key value/non-string-key value/null value/sequence value/string
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 anchor: unanchored
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 [7:4] could not find alias "unanchored"

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