This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 172
Parse error on default constraints (...type) #1065
Labels
Comments
This snippet appears verbatim in the spec and results in the same error:
|
I tried going back a few versions:
It looks like this syntax is deprecated. I also tried |
FWIW, I achieved this with the following:
|
@lytedev, what version are you on? This fails for me on v0.4.0:
|
This issue has been migrated to cue-lang/cue#1065. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
$ cue eval test.cue
test.cue
What did you expect to see?
Not a parse error.
What did you see instead?
Footnote
Correct me if I'm wrong, but from what I gathered from the spec,
it is the right syntax.
The text was updated successfully, but these errors were encountered: