1
0
mirror of https://github.com/golang/go synced 2024-11-21 18:54:43 -07:00

Match gccgo error message.

bug231.go:20:4: error: incompatible types in assignment (type has no methods)

R=rsc
CC=golang-dev
https://golang.org/cl/194156
This commit is contained in:
Ian Lance Taylor 2010-01-30 11:31:06 -08:00
parent 5163d50c7d
commit f4d714ca2d

View 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
}