summaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/ir/expr.go
diff options
context:
space:
mode:
authorDan Scales <danscales@google.com>2021-07-18 11:09:12 -0700
committerDan Scales <danscales@google.com>2021-07-22 04:44:48 +0000
commitee20dff27debb738ca3a89a7a30113771c1c078f (patch)
tree21621ff4bc8092fca9632c5d09be5e36e2738c7a /src/cmd/compile/internal/ir/expr.go
parent4e6836e82c981af7c041474f139b3de03906c3b0 (diff)
downloadgo-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