Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dev.go2go] go/types: adjust all tests to use latest syntax
- use square brackets for type parameters - otherwise, use same syntax as for ordinary parameters: all type parameters must have a constraint, can be "any" - remove (rename) all *B.go2 tests in favor of adjusted *.go2 tests - remove tests related to pointer notation for type parameters (we are going to use constraint type inference instead) - adjust type string computation accordingly - minor related adjustments This change can be reverted if we don't like it. Change-Id: Ie1034e0996df8f5ca6fbdf9ecaa3c93fcfd7106d Reviewed-on: https://go-review.googlesource.com/c/go/+/249741 Reviewed-by: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org>
- Loading branch information
Showing
59 changed files
with
634 additions
and
3,076 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.