mirror of
https://github.com/golang/go
synced 2024-10-01 03:08:33 -06: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> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
debug.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
load.go | ||
mod.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go |