]> Cypherpunks.ru repositories - gostls13.git/commit
go/types, types2: move xlist next to targs in Checker.arguments signature
authorRobert Griesemer <gri@golang.org>
Wed, 10 May 2023 16:06:33 +0000 (09:06 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 10 May 2023 16:34:03 +0000 (16:34 +0000)
commit945a2b17f3b47b4e0bda9a2a92186412b5704c9a
tree49a4135ac9eee3ce83645f1edd617263374c87e9
parent95c4f320d55fabf04ba45685109691f182678c01
go/types, types2: move xlist next to targs in Checker.arguments signature

targs and xlist belong together (xlist contains the type expressions for
each of the type arguments).

Also, in builtins.go, rename xlist to alist2 to avoid some confusion.

Preparation for adding more parameters to the Checker.arguments signature.

Change-Id: I960501cfd2b88410ec0d581a6520a4e80fcdc56a
Reviewed-on: https://go-review.googlesource.com/c/go/+/494121
Auto-Submit: Robert Griesemer <gri@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/builtins.go
src/cmd/compile/internal/types2/call.go
src/go/types/builtins.go
src/go/types/call.go