Closed myitcv closed 3 years ago
Per @mpvl this is working as expected, because a value alias can only appear on the right hand side of the :
in a field declaration. So the rewrite happening here is of an old style alias to a let expression.
This issue has been migrated to https://github.com/cue-lang/cue/issues/1004.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
What did you expect to see?
Passing test.
What did you see instead?
In this instance, the value is being used as an embedding, which should be ok?