-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/fix: avoid name-mangled imports
By including a call to sanitize, and avoiding the ast cursor Import method, we can avoid the name mangling of imports. Fixes #3408 Signed-off-by: Matthew Sackman <matthew@cue.works> Change-Id: I9bfc7082b504ac7a7d3c0a61580aef5bc8c3cd18 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1200498 Reviewed-by: Daniel Martí <mvdan@mvdan.cc> TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
- Loading branch information
1 parent
d0617b5
commit 1440b9e
Showing
3 changed files
with
38 additions
and
29 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