commit | b00447038a50e0923b12cb0bc3c28f6b842a7f54 | [log] [tgz] |
---|---|---|
author | Robert Griesemer <gri@golang.org> | Thu Jan 27 18:55:29 2022 -0800 |
committer | Robert Griesemer <gri@golang.org> | Thu Feb 03 16:13:58 2022 +0000 |
tree | ea27a32f6cb83cb7ce0244eb283e92a253184f75 | |
parent | 475ce826b75f113aff2810f3d27cb861adee0caa [diff] |
go/types, types2: shorter list for 2nd phase of function type inference In the 2nd phase of function argument type inference we only consider parameters with types that are single type parameters. Thus there is no need to collect anything else in the first phase. This matches the algorithm description in the forthcoming spec more closely. Change-Id: Ie5c29f30ff43b1e37d719ecbe1688b50ed2177f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/381554 Trust: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
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.