diff options
| author | Dan Scales <danscales@google.com> | 2021-07-18 11:09:12 -0700 |
|---|---|---|
| committer | Dan Scales <danscales@google.com> | 2021-07-22 04:44:48 +0000 |
| commit | ee20dff27debb738ca3a89a7a30113771c1c078f (patch) | |
| tree | 21621ff4bc8092fca9632c5d09be5e36e2738c7a /src/cmd/compile/internal/ir/expr.go | |
| parent | 4e6836e82c981af7c041474f139b3de03906c3b0 (diff) | |
| download | go-git-ee20dff27debb738ca3a89a7a30113771c1c078f.tar.gz | |
[dev.typeparams] Get dictionaryCapture.go working.
METHVALUE in a generic function (that is not called) was not causing
buildClosure() to be called and therefore not using dictionaries. Also,
had to add an extra check to make sure that if we have a FUNCINST
node above a METHVALUE, we only call buildClosure once.
Change-Id: I49756152fc343e5ac1c449e697960fc2a0f482ae
Reviewed-on: https://go-review.googlesource.com/c/go/+/336429
Reviewed-by: Keith Randall <khr@golang.org>
Trust: Dan Scales <danscales@google.com>
Run-TryBot: Dan Scales <danscales@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/ir/expr.go')
0 files changed, 0 insertions, 0 deletions
