-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/gopls: build constraints not respected for new files #37101
Comments
Overlay processing ignores build tags. I'll look at it. |
Fixing this would involve copying a couple hundred lines of |
Now that native overlays will be added in 1.16 (#41598), I don't think it makes sense to fix this issue in go/packages' overlay processing. Let's move this issue out of the v1.0 milestone and check back in after 1.16 is released. |
I've just confirmed that this is fixed with Go 1.16. Closing. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Starting with an empty module, create (and save) the following files in sequence:
What did you expect to see?
No diagnostic errors.
What did you see instead?
If you close and restart the editor (or indeed
gopls
) the diagnostics go away.cc @stamblerre
FYI @leitzler
The text was updated successfully, but these errors were encountered: