Skip to content

Using let with attributes #938

Answered by cueckoo
cueckoo asked this question in Q&A
Jul 3, 2021 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Original reply by @mpvl in cuelang/cue#938 (comment)

Attributes are indeed not allowed on let. I would be quite a substantial change to support, as let is not something that is visible in the API, for instance, and which is the only place were attributes are used.

Am I guessing correctly that you are envisioning picking up the attribute in the cue AST rather than the API?

Replies: 2 comments 2 replies

Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
0 replies
Comment options

cueckoo
Jul 3, 2021
Collaborator Author

You must be logged in to vote
2 replies
@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

@cueckoo
Comment options

cueckoo Jul 3, 2021
Collaborator Author

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