commit | 662c5eed3324a334d2d9418deb9e60a6765ff972 | [log] [tgz] |
---|---|---|
author | Robert Findley <rfindley@google.com> | Sun Oct 10 10:43:20 2021 -0400 |
committer | Robert Findley <rfindley@google.com> | Mon Oct 11 22:17:41 2021 +0000 |
tree | 6abdb01466ddeca065f85e13479c8f5b2a3d879d | |
parent | 2ecdf9d800f631cfde30b7463a3ed2c0b60611d5 [diff] |
go/types: accept constraint literals with elided interfaces This is a port of CL 353139 to go/types, adjusted for error reporting and for the different representation of field lists in go/ast. A TODO is added to verify if types2 produces redundant error messages for type parameters sharing a bound. For #48424 Change-Id: I3549942be0328de616d1d87d0ba621311fc53576 Reviewed-on: https://go-review.googlesource.com/c/go/+/354989 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://golang.org/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.