mirror of
https://github.com/golang/go
synced 2024-11-18 22:44:48 -07:00
ca43edf915
When you write a test in (say) the fmt package, you get a test variant augmented with the test files. In many cases you also get test variants of the things the fmt package depends on. The primary test variant, (fmt [fmt.test]) is interesting to us, because it contains the tests. But the intermediate variants (testing [fmt.test]) aren't -- the user can only get to them indirectly. We certainly don't need to fully parse them. Treat intermediate test variants as non-workspace packages. This doesn't accomplish much yet but paves the way for later optimizations. Updates golang/go#36943. Change-Id: I1a20abcd2d67767f07132a75a20f098be6f19a76 Reviewed-on: https://go-review.googlesource.com/c/tools/+/236397 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
analysis | ||
browser | ||
cache | ||
cmd | ||
debug | ||
diff | ||
fake | ||
fuzzy | ||
helper | ||
lsprpc | ||
mod | ||
protocol | ||
regtest | ||
snippet | ||
source | ||
testdata | ||
tests | ||
code_action.go | ||
command.go | ||
completion_test.go | ||
completion.go | ||
definition.go | ||
diagnostics.go | ||
folding_range.go | ||
format.go | ||
general.go | ||
generate.go | ||
highlight.go | ||
hover.go | ||
implementation.go | ||
link.go | ||
lsp_test.go | ||
progress.go | ||
references.go | ||
rename.go | ||
reset_golden.sh | ||
server_gen.go | ||
server.go | ||
signature_help.go | ||
symbols.go | ||
text_synchronization.go | ||
workspace_symbol.go | ||
workspace.go |