mirror of
https://github.com/golang/go
synced 2024-11-18 18:44:42 -07:00
d926bd178c
Every package has a default type checking mode dictated by whether it's in the workspace or not. Some features force full rather than exported type checking, but AFAICT that ends up being more harm than good. For example, let's say we want to Find References on fmt.Printf in the stdlib. Before this CL, we'd force a new type check of the fmt package, then find no references because nothing else would have been checked against that new version. While there may be some features that work better in the current regime, I can't think of any, and we have no test coverage for them. So I'd rather start with what makes sense, and if we want to change it maybe let's write some tests. Change-Id: Iea589efb4b4374fd2a54451c868b6e2bd5484e20 Reviewed-on: https://go-review.googlesource.com/c/tools/+/248380 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
codelens_test.go | ||
definition_test.go | ||
diagnostics_test.go | ||
doc.go | ||
env_test.go | ||
env.go | ||
fix_test.go | ||
formatting_test.go | ||
generate_test.go | ||
imports_test.go | ||
link_test.go | ||
modfile_test.go | ||
references_test.go | ||
reg_test.go | ||
runner.go | ||
shared_test.go | ||
stress_test.go | ||
symbol_helper_test.go | ||
symbol_test.go | ||
unix_test.go | ||
vendor_test.go | ||
watch_test.go | ||
workspace_test.go | ||
wrappers.go |