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
For documentation purposes: this turns out to be an export bug!!! What happens with the --out mode is that it triggers several translation steps exporting to and from CUE and then to JSON. The cause is a bug in the exporter, which caused the reading back to fail.
The back and forth should probably be eliminated as well.
Originally opened by @myitcv in cuelang/cue#473
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
Run:
What did you expect to see?
JSON output.
What did you see instead?
Error:
Compare with
v0.2.2
which does correctly output the JSON representation.With 304b02e the
--out json
flag does work if you add-c
:The text was updated successfully, but these errors were encountered: