We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cue version
80f4f236e29369a1f9fb4267644c8d29e7f97baa
exec cue export o.cue cmp stdout out.cue -- o.cue -- import "list" people: [ {name: "bob"}, {name: "alice"}, {name: "john"} ] people: [...{name!: _}] & list.MaxItems(len(_uniqueNames)) _uniqueNames: { for person in people { "\(person.name)": _ } } -- out.cue -- { "people": [ { "name": "bob" }, { "name": "alice" }, { "name": "john" } ] }
Well this works with evalv2. But with v3, I get _uniqueNames: cannot range over people (incomplete type _):
_uniqueNames: cannot range over people (incomplete type _):
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of CUE are you using (
cue version
)?What on earth did you do?
What's the story cowboy?
Well this works with evalv2. But with v3, I get
_uniqueNames: cannot range over people (incomplete type _):
The text was updated successfully, but these errors were encountered: