This repository has been archived by the owner on Nov 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cue/cmd/cue: hoist placeOrphan from import
Note that this puts the hoisting code at a different point in the control flow. This seems to disallow using recursively generated fields, whereas before this was possible. However, as the generated code used aliases, there is no loss of functionality. Other than this a minimum was done to make the code work. Change-Id: I9d3436e311537588782361b67c0d5b407518022f Reviewed-on: https://cue-review.googlesource.com/c/cue/+/5024 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>
- Loading branch information
Showing
1 changed file
with
25 additions
and
26 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