aboutsummaryrefslogtreecommitdiff
path: root/go/packages/packages_test.go
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2019-10-15 13:44:37 -0400
committerMichael Matloob <matloob@golang.org>2019-10-16 18:38:41 +0000
commitba31bb905655611fcaee0e9db7433118a68d4de2 (patch)
treebbb2eda29d706fc137a41d2a5dff6df50f86b963 /go/packages/packages_test.go
parent89dd9f8220fad862f44743136495959942d17ec1 (diff)
downloadgolang-x-tools-ba31bb905655611fcaee0e9db7433118a68d4de2.tar.gz
go/analysis: remove requirement for unique Analyzer names
It's hard to prevent two independent analysis writers from using the same name so enforcing this requiremnet just causes trouble for analysis writers. Remove the requirement. It would be nice to guarantee that two packages don't introduce analyses with the same name, but because analyses are values and not types, they don't have a logical package. Change-Id: Iad3493e02ceae04ba3e9015c3e9c68ed9fa4b5a2 Reviewed-on: https://go-review.googlesource.com/c/tools/+/201218 Run-TryBot: Michael Matloob <matloob@golang.org> Reviewed-by: Dominik Honnef <dominik@honnef.co>
Diffstat (limited to 'go/packages/packages_test.go')
0 files changed, 0 insertions, 0 deletions