-
-
Notifications
You must be signed in to change notification settings - Fork 628
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow build file symbols / macros with leading _s (#21246)
In #21028, we started excluding build file prelude symbols and macros that had a leading `_` in a way that broke potential live code, where a macro like `_example` wouldn't be available in `BUILD` files. This moves that skipping to only exclude those symbols from the help output, meaning such macros are now available in BUILD files again, although not visible in `pants help ...`. Fixes #21228 --------- Co-authored-by: Jacob Floyd <[email protected]>
- Loading branch information
1 parent
ca0ceb4
commit fb1c6a3
Showing
4 changed files
with
37 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
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