]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: avoid declared but not used error for a couple of cases
authorRobert Griesemer <gri@golang.org>
Thu, 25 Aug 2022 21:30:15 +0000 (14:30 -0700)
committerGopher Robot <gobot@golang.org>
Fri, 26 Aug 2022 03:34:24 +0000 (03:34 +0000)
commit27006657fad10d195dd0f5d5719e49a4e5811f4a
treee5dba64a33f0613b5721f0876ce89bf2b94f92e0
parentaab8d2b448c4855a4e4a9c2d477671a75828f78b
go/types: avoid declared but not used error for a couple of cases

The change in typexpr.go matches types2 behavior.

For #54511.

Change-Id: I79c922a94f2ee0440c1814140935c321439c7d25
Reviewed-on: https://go-review.googlesource.com/c/go/+/425714
Reviewed-by: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/testdata/check/builtins0.go
src/go/types/typexpr.go