]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/types2: split out function instantiation from index expr
authorRobert Griesemer <gri@golang.org>
Thu, 8 Apr 2021 01:27:08 +0000 (18:27 -0700)
committerRobert Griesemer <gri@golang.org>
Sat, 10 Apr 2021 19:02:06 +0000 (19:02 +0000)
commita6d95b4508cb65070fd8471ae8018b897da7fc83
tree02c9e3b75cd44a13ad85e2b5e78efba3f0dbce01
parent36c5f902f9049b82da50ac66049371830e6de031
cmd/compile/internal/types2: split out function instantiation from index expr

Also, factor out recording of type/value information after
evaluating an expression into an operand, so that we can
use it when handling instantiation expressions manually.

Change-Id: I6776e6cc243558079d6a203f2fe0a6ae0ecc33de
Reviewed-on: https://go-review.googlesource.com/c/go/+/308371
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/call.go
src/cmd/compile/internal/types2/check.go
src/cmd/compile/internal/types2/expr.go
src/cmd/compile/internal/types2/index.go