mirror of
https://github.com/golang/go
synced 2024-11-18 21:44:45 -07:00
f53864d0db
If a package starts out as command-line-arguments, and then becomes "valid" (i.e., gets a package declaration), we shouldn't continue to try to diagnose "command-line-arguments". We should remove "command-line-arguments" from workspace packages any time its metadata is invalidated (assuming it may get added back if a file= query produces it again). Include the relevant regression test. Fixes golang/go#37978 Change-Id: I7fc51edeb58007b4b4a163336cbeb752a53da322 Reviewed-on: https://go-review.googlesource.com/c/tools/+/225317 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
definition_test.go | ||
diagnostics_test.go | ||
env.go | ||
formatting_test.go | ||
reg_test.go | ||
serialization_test.go | ||
shared_test.go | ||
wrappers.go |