-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
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
cmd/fmt: single import and comment combined #1447
Comments
I've noticed versions of this, as well. Comments being moved around into odd places in the AST tree. I don't have any current examples, but I'll post them here if I come across them again. |
This issue is same as #720
The
Above suggests that the problem might start in the
|
The following reproducer confirms the original complaint, namely that the comment The comment The title comment In my opinion, these 'floating' comments (neither A possible alternative would be to a separate node of a new type, comment-group-only for each of them. This might be helpful in issues like #2672, to prevent excessive simplification.
|
What version of CUE are you using (
cue version
)?0.4.0
What did you do?
What did you see instead?
The text was updated successfully, but these errors were encountered: