-
Notifications
You must be signed in to change notification settings - Fork 274
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
cue fix
tries to align comments inside braces with those outside, causing weird field indentation
#1006
Comments
cueckoo
added
fmt
Related to formatting functionality.
NeedsInvestigation
Triage
Requires triage/attention
labels
Jul 3, 2021
Thanks for raising this @zellyn, and apologies for the radio silence as we completed our migration (#1078). Confirmed with ecb17c9:
|
myitcv
added
NeedsFix
S
and removed
NeedsInvestigation
Triage
Requires triage/attention
labels
Jul 29, 2021
This script compares different test inputs
The tidied up output is
and the corresponding
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally opened by @zellyn in cuelang/cue#1006
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
indent-bug-repro.cue
:cue fix indent-bug-repro.cue
What did you expect to see?
The same output as input
What did you see instead?
The text was updated successfully, but these errors were encountered: