Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: diagnostics doesn't update when build tags specification changes #38732
When removing the build tags from a file to include the file in the build set,
--- foo/foo.go --- // +build foo package foo var Foo = 1 --- foo/bar.go --- package foo var Bar = Foo
Gopls will report the reference to Foo from bar.go is undefined.
Now remove the build tag
Used go1.14.1, gopls built from master (e9a00ec)