You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest release?
yes
What did you do?
At first I thought it was a formatting bug in the vscode extension, but it seems to be reproduced in cue fmt, so I'm reporting it. johnallen3d/vscode-cue-fmt#8
`cue fmt` unexpectedly adds trailing comma not before but after comment
if `StructLit` satisfies the following conditions:
* is an element of list
* has no element
* is before `Comment`
This CL:
* fix this issue
* add a new test data
* fix an existing test data
Close#1553
Signed-off-by: satotake <doublequotation@gmail.com>
Change-Id: Icd181b6c8bee651ff98cf17ca706d453f960b7b4
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/539255
Reviewed-by: Marcel van Lohuizen <mpvl@gmail.com>
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
yes
What did you do?
At first I thought it was a formatting bug in the vscode extension, but it seems to be reproduced in cue fmt, so I'm reporting it.
johnallen3d/vscode-cue-fmt#8
What did you expect to see?
What did you see instead?
I don't want commas to be added after formatting.
The text was updated successfully, but these errors were encountered: