Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that exporter always exports a struct literal, and not an arbitrary expression. TODO: this can be enforced at compile time by changing the type of the Value field to *ast.StructLit. This is a breaking change in the API though. At some point this will be useful, as it will help prevent users of the API to make similar errors. Fixes #473 Change-Id: I26d1590c9b793ad5c82b02f69af47795a4bbd1a4 Reviewed-on: https://cue-review.googlesource.com/c/cue/+/6950 Reviewed-by: Paul Jolly <[email protected]> Reviewed-by: CUE cueckoo <[email protected]>
- Loading branch information