aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2023-02-08 16:51:58 -0800
committerGopher Robot <gobot@golang.org>2023-02-09 21:13:56 +0000
commitda47cd6192822daef997df6bbbc0d3a6bdbdae13 (patch)
treee936f180551f56cefd60ec1154424e1da9eb4102 /src/math
parente0504bcd72a1ee477e29fb429c86f3af37197293 (diff)
downloadgo-da47cd6192822daef997df6bbbc0d3a6bdbdae13.tar.xz
go/types, types2: simplify unify.inferred signature
Rather than referring back to the type parameter list stored with the unifier, return inferred types for a given list of type parameters. This decouples the unifier more and opens the door for inference to consider type parameters from multiple types for inference. While at it, introduce an internal flag to control whether inference results of the two inference implementations should be compared or not. Change-Id: I23b254c6c1c750f5bd1360aa2bb088cc466434f3 Reviewed-on: https://go-review.googlesource.com/c/go/+/466795 Reviewed-by: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> Reviewed-by: Robert Findley <rfindley@google.com> Auto-Submit: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/math')
0 files changed, 0 insertions, 0 deletions