aboutsummaryrefslogtreecommitdiff
path: root/test
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 /test
parent4e6836e82c981af7c041474f139b3de03906c3b0 (diff)
downloadgo-ee20dff27debb738ca3a89a7a30113771c1c078f.tar.gz
go-ee20dff27debb738ca3a89a7a30113771c1c078f.zip
[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 'test')
-rw-r--r--test/run.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/run.go b/test/run.go
index 6e0c12d46b..55c508dd42 100644
--- a/test/run.go
+++ b/test/run.go
@@ -2174,10 +2174,9 @@ var g3Failures = setOf(
"typeparam/mdempsky/4.go", // -G=3 can't export functions with labeled breaks in loops
- "typeparam/cons.go", // causes an unreachable method
- "typeparam/dictionaryCapture.go", // segv, dictionary access failure?
- "typeparam/issue44688.go", // interface conversion fails due to missing method
- "typeparam/mdempsky/14.go", // interface comparison failure
+ "typeparam/cons.go", // causes an unreachable method
+ "typeparam/issue44688.go", // interface conversion fails due to missing method
+ "typeparam/mdempsky/14.go", // interface comparison failure
)
var unifiedFailures = setOf(