]> Cypherpunks repositories - gostls13.git/commit
go/types: test shifts that are disabled in shared test file
authorRobert Griesemer <gri@golang.org>
Thu, 1 Sep 2022 00:40:21 +0000 (17:40 -0700)
committerRobert Griesemer <gri@google.com>
Fri, 2 Sep 2022 02:47:14 +0000 (02:47 +0000)
commite2d2d3a4a6edf1e571a5aca1eaaf55ffcc4d6eba
treef6412bd892ed87008fc834b08ab5b77607fa3e75
parent157aae6eed1c092fd9e8ead3527185378eb828e1
go/types: test shifts that are disabled in shared test file

CL 425735 consolidated the testdata/check/shifts.go files between
go/types and types2. Because some shifts don't work correctly with
types2, the corresponding tests were disabled in the shared file.
Make sure we keep testing those shifts for go/types by adding a
local test file.

For #52080.
For #54511.

Change-Id: I53507e535bf83b204eaf18fc6c2efefcebf5ebf7
Reviewed-on: https://go-review.googlesource.com/c/go/+/426661
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
src/go/types/testdata/local/shifts.go [new file with mode: 0644]