x/tools/go/packages: Package.Fset is nil when using NeedSyntax #48226
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What did you do?
What did you expect to see?
What did you see instead?
Rationale
This is apparently working as intended, as the documentation reads:
However, I see no reason why
Fset
should not be exposed whenNeedSyntax
is requested. In particular,Fset
is needed for looking up position information for syntax elements.The text was updated successfully, but these errors were encountered: