mirror of
https://github.com/golang/go
synced 2024-09-29 13:14:28 -06:00
go/types: remove TODO in testdata/examples/types.go
Follow-up on CL 424674. With this change, the files in testdata/examples are identical to the corresponding files for types2. For #54511. Change-Id: Ic61c089bbf61492094e31057ad2635803f50a30d Reviewed-on: https://go-review.googlesource.com/c/go/+/424714 Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
9b48ffa98a
commit
5a53807950
8
src/go/types/testdata/examples/types.go
vendored
8
src/go/types/testdata/examples/types.go
vendored
@ -146,11 +146,9 @@ func _() {
|
||||
}
|
||||
|
||||
type _ struct {
|
||||
// TODO(gri) The next 3 lines need to be adjusted to match
|
||||
// the corresponding types2 tests. This requires
|
||||
// a go/parser fix (issue #51655).
|
||||
int8
|
||||
*int16
|
||||
( /* ERROR cannot parenthesize */ int8)
|
||||
( /* ERROR cannot parenthesize */ *int16)
|
||||
*( /* ERROR cannot parenthesize */ int32)
|
||||
List[int]
|
||||
|
||||
int8 /* ERROR int8 redeclared */
|
||||
|
Loading…
Reference in New Issue
Block a user