x/tools/gopls: filter intermediate test variants when resolving package for file #57795
Labels
FrozenDueToAge
gopls/incremental
gopls
Issues related to the Go language server, gopls.
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
https://go.dev/cl/455615 simplified our package APIs, but dropped the explicit filtering of intermediate test variants from
snapshot.PackageForFile
.I believe as a result of this change, we may get an intermediate test variant at the call sites where we previously would not. This can cause needless type-checking.
Not yet released, but we must address this before v0.12.0
CC @adonovan
The text was updated successfully, but these errors were encountered: