This repository was archived by the owner on Nov 18, 2021. It is now read-only.
Replies: 2 comments 1 reply
-
|
I suspect there might have been a time when CUE did support multi-line comments; @mpvl will be able to confirm. Either way, they are not support today. So @NReilingh I'd agree - we should make the tutorial line up with the spec. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
This discussion has been migrated to cue-lang/cue#858. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I read the CUE tutorial, I took note of the "C-style comments" item listed at https://cuelang.org/docs/tutorials/tour/intro/json/, and interpreted that to mean support for both single-line (
// comment) and multiline (/* comment */) comments.I was rather surprised, then, when CUE blew up after I tried to feed it some multiline comments. It seems as though only the
//style is supported.Is it accurate to call these C-style comments in the tutorial, especially given that C's original comment style was the multiline variation, and the single-line
//style was actually an extension from C++?Beta Was this translation helpful? Give feedback.
All reactions