Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
=== Anchors With Colon in Name
--- from: Mailing List Discussion
--- tags: alias edge mapping 1.3-err
This test is showing that a colon in an anchor (allowed in 1.2) can look like a
mapping separator. In 1.3 we we propose to not allow `:` or other punctation in
anchors. See [[rfc 3]].
--- in-yaml
&a: key: &a value
--- in-json
"key": "value",
"foo": "key"
--- out-yaml
&a: key: &a value
foo: *a:
--- test-event
=VAL &a: :key
=VAL &a :value
=VAL :foo
=ALI *a: