-
-
Notifications
You must be signed in to change notification settings - Fork 197
Closed
Labels
bugSomething isn't workingSomething isn't workingwaitingowner is waiting for a responseowner is waiting for a response
Description
Describe the bug
Yaml spec (perhaps surprisingly?) allows you to use aliases in keys, the goccy/yaml parser doesn't seem to allow this
{a: &a cat, *a : b}
To Reproduce
https://go.dev/play/p/DhvHpcYjIag
Expected behavior
Tokeniser picks up AliasType as a Map key.
Screenshots
If applicable, add screenshots to help explain your problem.
Version Variables
- Go version: [e.g. 1.21 ]
- go-yaml's Version: [e.g. v1.11.1 ]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwaitingowner is waiting for a responseowner is waiting for a response