aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/deadcode/deadcode.go
diff options
context:
space:
mode:
authorRob Findley <rfindley@google.com>2021-02-16 20:01:32 -0500
committerRobert Findley <rfindley@google.com>2021-02-17 01:29:54 +0000
commit2f0da6d9e29d9b9d5a4d10427ca9f71d12bbacc8 (patch)
tree42ca88c97fc56f04e7ff936bfddcb72172582af2 /src/cmd/compile/internal/deadcode/deadcode.go
parent70c37ee7d0eb68777bd81a1acc06d85ee3da4052 (diff)
downloadgo-2f0da6d9e29d9b9d5a4d10427ca9f71d12bbacc8.tar.xz
go/types: revert "no 'declared but not used' errors for invalid var decls"
This reverts commit CL 289712 (afd67f3). It breaks x/tools tests, and those tests highlight that perhaps I didn't think through the repercussions of this change as much as I should have. Fixes #44316 Change-Id: I5db39b4e2a3714131aa22423abfe0f34a0376192 Reviewed-on: https://go-review.googlesource.com/c/go/+/292751 Reviewed-by: Matthew Dempsky <mdempsky@google.com> Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/deadcode/deadcode.go')
0 files changed, 0 insertions, 0 deletions