-
Notifications
You must be signed in to change notification settings - Fork 17.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Robert Findley <[email protected]>
- Loading branch information
Showing
2 changed files
with
26 additions
and
22 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