Commit 2f0da6d9 authored by Rob Findley's avatar Rob Findley Committed by Robert Findley
Browse files

go/types: revert "no 'declared but not used' errors for invalid var decls"

This reverts commit CL 289712 (afd67f33). 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: default avatarMatthew Dempsky <mdempsky@google.com>
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
parent 70c37ee7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment