From 2b9e7c1864c61c900b79deb9528fead33321a402 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Mon, 4 Dec 2017 10:59:39 -0800 Subject: [PATCH] test: disable broken test for 1.10 This test was added recently as a regress test for the spec relaxation in #9060, but doesn't work correctly yet. Disable for now to fix noopt builders. Updates #22444. Change-Id: I45c521ae0da7ffb0c6859d6f7220c59828ac6149 Reviewed-on: https://go-review.googlesource.com/81775 Run-TryBot: Matthew Dempsky Reviewed-by: Brad Fitzpatrick --- test/method7.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/method7.go b/test/method7.go index 4e1b3c340a..72c88b377d 100644 --- a/test/method7.go +++ b/test/method7.go @@ -45,9 +45,8 @@ func main() { interface{ m1(string) }.m1(x, "d") want += " m1(d)" - g := struct{ T }.m2 - _ = g // cannot link the call below - see #22444 + // g := struct{ T }.m2 // g(struct{T}{}) // want += " m2()" -- 2.50.0