x/tools/go/packages: provide alternative to deprecated LoadAllSyntax #32365
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
A fair number of tools will need the equivalent of the now deprecated LoadAllSyntax constant. Instead of forcing everyone to write their own bitwise OR of 9 constants, it would be nice if we could provide a constant for this. Unfortunately we can't call it
NeedEverything
, as LoadAllSyntax doesn't include NeedExportsFile, and including it unnecessarily probably causes unnecessary work by the compiler./cc @matloob
The text was updated successfully, but these errors were encountered: