From: Ian Lance Taylor Date: Tue, 15 Dec 2020 21:15:07 +0000 (-0800) Subject: test: update for gofrontend error message changes X-Git-Tag: go1.16beta1~9 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=731bb540381e1b79c85b0bdcb95af90f6bde7b89;p=gostls13.git test: update for gofrontend error message changes fixedbugs/bug195.go:9:20: error: interface contains embedded non-interface fixedbugs/bug195.go:12:20: error: interface contains embedded non-interface fixedbugs/bug195.go:15:22: error: interface contains embedded non-interface fixedbugs/bug195.go:18:9: error: invalid recursive interface fixedbugs/bug195.go:26:9: error: invalid recursive interface fixedbugs/bug251.go:15:9: error: invalid recursive interface fixedbugs/issue23823.go:15:9: error: invalid recursive interface Change-Id: If4c22430557459d5b361beda7168f8cb42b58811 Reviewed-on: https://go-review.googlesource.com/c/go/+/278512 Trust: Ian Lance Taylor Run-TryBot: Ian Lance Taylor Reviewed-by: Than McIntosh Reviewed-by: Cherry Zhang TryBot-Result: Go Bot --- diff --git a/test/fixedbugs/bug195.go b/test/fixedbugs/bug195.go index aef7bd2d89..94f61fff7f 100644 --- a/test/fixedbugs/bug195.go +++ b/test/fixedbugs/bug195.go @@ -19,7 +19,7 @@ type I4 interface { // GC_ERROR "invalid recursive type I4\n\tLINE: I4 refers to } type I5 interface { // GC_ERROR "invalid recursive type I5\n\tLINE: I5 refers to\n\tLINE+4: I6 refers to\n\tLINE: I5$" - I6 // GCCGO_ERROR "interface" + I6 } type I6 interface { diff --git a/test/fixedbugs/bug251.go b/test/fixedbugs/bug251.go index 706bb8d690..977aa49e6a 100644 --- a/test/fixedbugs/bug251.go +++ b/test/fixedbugs/bug251.go @@ -8,7 +8,7 @@ package main type I1 interface { // GC_ERROR "invalid recursive type" m() I2 - I2 // GCCGO_ERROR "loop|interface" + I2 } type I2 interface { diff --git a/test/fixedbugs/issue23823.go b/test/fixedbugs/issue23823.go index c440c96315..067a8f1638 100644 --- a/test/fixedbugs/issue23823.go +++ b/test/fixedbugs/issue23823.go @@ -7,7 +7,7 @@ package p type I1 = interface { - I2 // GCCGO_ERROR "invalid recursive interface" + I2 } // BAD: type loop should mention I1; see also #41669