Open rogpeppe opened 1 month ago
Unfortunately this is hard-coded in yaml.v3: https://github.com/go-yaml/yaml/blob/f6f7691b1fdeb513f56608cd2c32c51f8194bf51/parserc.go#L1195-L1199
Tracked upstream at https://github.com/go-yaml/yaml/issues/298, raised by... you :)
I think this is one of the issues that can only be properly resolved by fixing or swapping the yaml dependency.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest stable release?
Yes
What did you do?
What did you expect to see?
A passing test.
What did you see instead?
YAML files do seem to hold directives like this in the wild so perhaps we should support it.