Skip to content

Order matters for if expressions - cannot add field..was already used error #1075

Answered by cueckoo
cueckoo asked this question in Q&A
Discussion options

You must be logged in to vote

Original reply by @verdverm in cuelang/cue#1075 (comment)

Given CUE is order agnostic, this does seem like a bug to me. Note this behavior is the same across eval, export, and def.

Can you open an issue following the guidelines here: https://github.com/cuelang/cue/wiki/Creating-test-or-performance-reproducers

Replies: 1 comment 1 reply

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
1 reply
@KostasKgr
Comment options

Answer selected by mpvl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants