forked from cue-lang/cue
-
Notifications
You must be signed in to change notification settings - Fork 0
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 cue-lang#867 Signed-off-by: Marcel van Lohuizen <mpvl@golang.org> Change-Id: Ie5a93949a68565ea60e954417bb2573fd36b0284
- Loading branch information
Showing
17 changed files
with
1,189 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.