cuelang / cue

CUE has moved to https://github.com/cue-lang/cue
https://cuelang.org
Apache License 2.0
3.09k stars 171 forks source link

cmd/cue: fmt does not handle lists correctly #1023

Closed uhthomas closed 3 years ago

uhthomas commented 3 years ago

What version of CUE are you using (cue version)?

$ cue version
cue version v0.4.0 linux/amd64

Does this issue reproduce with the latest release?

Yes.

What did you do?

Given

a: [ "b"]

What did you expect to see?

a: ["b"]
// or: (I don't know what cue fmt's preference is)
a: [ "b" ]

What did you see instead?

No change.

cueckoo commented 3 years ago

This issue has been migrated to https://github.com/cue-lang/cue/issues/1023.

For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.