]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] cmd/compile: change method instantiations back to being functions
authorDan Scales <danscales@google.com>
Thu, 20 May 2021 22:35:55 +0000 (15:35 -0700)
committerDan Scales <danscales@google.com>
Thu, 20 May 2021 23:01:37 +0000 (23:01 +0000)
commit468efd5e2fb05860430c0bdede4e1cd0f8c07f65
tree62426b4571bd10a3ae584cea4b3442f76b0f0c5f
parent382c5dd5f754392444fbe2c3489d09b2f36f3939
[dev.typeparams] cmd/compile:  change method instantiations back to being functions

Change all instantiated methods to being functions again. We found that
this is easier for adding the dictionary argument consistently. A method
wrapper will usually be added around the instantiation call, so that
eliminate the inconsistency in the type of the top-level method and the
the associated function node type.

Change-Id: I9034a0c5cc901e7a89e60756bff574c1346adbc7
Reviewed-on: https://go-review.googlesource.com/c/go/+/321609
Run-TryBot: Dan Scales <danscales@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Trust: Dan Scales <danscales@google.com>
src/cmd/compile/internal/noder/stencil.go