From 02820d61a9d0027140e6da567323e0822d513358 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 3 Dec 2020 18:15:50 -0800 Subject: [dev.typeparams] test: enable some more errorcheck tests Change-Id: I103e3eeacd5b11efd63c965482a626878ba5ac81 Reviewed-on: https://go-review.googlesource.com/c/go/+/275216 Trust: Robert Griesemer Run-TryBot: Robert Griesemer TryBot-Result: Go Bot Reviewed-by: Robert Findley --- test/rename1.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/rename1.go') diff --git a/test/rename1.go b/test/rename1.go index c49a70a263..058db4494a 100644 --- a/test/rename1.go +++ b/test/rename1.go @@ -13,7 +13,7 @@ func main() { var n byte // ERROR "not a type|expected type" var y = float32(0) // ERROR "cannot call|expected function" const ( - a = 1 + iota // ERROR "invalid operation|incompatible types" + a = 1 + iota // ERROR "invalid operation|incompatible types|cannot convert" ) } -- cgit v1.2.1