]> Cypherpunks repositories - gostls13.git/commitdiff
Match gccgo error message.
authorIan Lance Taylor <iant@golang.org>
Sat, 30 Jan 2010 19:31:06 +0000 (11:31 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 30 Jan 2010 19:31:06 +0000 (11:31 -0800)
bug231.go:20:4: error: incompatible types in assignment (type has no methods)

R=rsc
CC=golang-dev
https://golang.org/cl/194156

test/fixedbugs/bug231.go

index e11200b9c58f5189e5bf9746dcc519d23b2ccee9..91996d313c8dd3a8c0283fb44c59c8bd065cca1c 100644 (file)
@@ -17,6 +17,6 @@ func main() {
        var i I
        
        i = m
-       i = t   // ERROR "not a method"
+       i = t   // ERROR "not a method|has no methods"
        _ = i
 }