]> Cypherpunks repositories - gostls13.git/commit
go/types: use combined type and ordinary args for type inference
authorRob Findley <rfindley@google.com>
Wed, 28 Apr 2021 02:52:56 +0000 (22:52 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 28 Apr 2021 19:51:56 +0000 (19:51 +0000)
commit1e235cd454b58f5ae26cac2a41e8ec131312ac6b
tree14d6332eec292984b9296d635422548eadf5c748
parentad989c7dbad8227a0e6944802f0557e625807bb2
go/types: use combined type and ordinary args for type inference

This is a port of CL 308372 to go/types. The only meaningful change was
to add TODOs to improve the positioning error messages.

Change-Id: I8314615d0851a59c2b5fd30eb897d581652eacc3
Reviewed-on: https://go-review.googlesource.com/c/go/+/314435
Trust: Robert Findley <rfindley@google.com>
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/builtins.go
src/go/types/call.go
src/go/types/fixedbugs/issue39754.go2
src/go/types/fixedbugs/issue44799.go2 [new file with mode: 0644]
src/go/types/testdata/issues.go2