]> Cypherpunks repositories - gostls13.git/commitdiff
test: update for gofrontend error message changes
authorIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 21:15:07 +0000 (13:15 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Dec 2020 21:45:05 +0000 (21:45 +0000)
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 <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Go Bot <gobot@golang.org>

test/fixedbugs/bug195.go
test/fixedbugs/bug251.go
test/fixedbugs/issue23823.go

index aef7bd2d8944a883c344b558dbdff1abb11aad54..94f61fff7f1cb0a2b030b6ba7273b12e7f7b47b4 100644 (file)
@@ -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 {
index 706bb8d69019d51d2968a1d13b0911f17ecec973..977aa49e6a0e0467238e8db2c13eca701c898764 100644 (file)
@@ -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 {
index c440c96315cd1c06abfe6fa35551b3632cf9f4a1..067a8f1638c26c4ae33fe5c116d2c0c0c14d8fdf 100644 (file)
@@ -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