-
Notifications
You must be signed in to change notification settings - Fork 294
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/export: implement self-contained algo for export
The ensures that all references pointing outside an exported value (in Def) are either inlined or included as let, the latter to avoid a possible exponential blowup. This does not yet handle the case where a reference points to an ancestor node of the exported value. Issue #867 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: Ie5a93949a68565ea60e954417bb2573fd36b0284 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/541464 Reviewed-by: Paul Jolly <[email protected]> Unity-Result: CUEcueckoo <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
17 changed files
with
1,194 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.