-
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: avoid introducing shadowing
The solution is to unconditionally link Ident.Node fields with their resolution, allowing the sanitizer to unshadow. The exporter is becoming quite a mess and is due for an overhaul. The implementation should be notably easier with the upcoming evaluator overhaul, so it seems a waste to do that now. Fixes #2311 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I38d2c010814e5d97424d72890da002bb1c6ef2cb Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/552252 Reviewed-by: Roger Peppe <[email protected]> Unity-Result: CUEcueckoo <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
4 changed files
with
323 additions
and
84 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.