diff options
author | Ian Lance Taylor <iant@golang.org> | 2009-07-17 16:12:29 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2009-07-17 16:12:29 -0700 |
commit | b3d01f3fada745043de288b830a8a698ff97606b (patch) | |
tree | 332889923a50255eab8894215f3258d08da34b20 /test/interface | |
parent | d7bef25ea27376861da7b279da3f40f29cee576c (diff) | |
download | go-b3d01f3fada745043de288b830a8a698ff97606b.tar.gz |
Recognize gccgo error message.
explicit.go:21:5: error: incompatible types in assignment (need explicit conversion)
explicit.go:26:5: error: incompatible types in assignment (type has no methods)
explicit.go:27:5: error: incompatible types in assignment (need explicit conversion)
explicit.go:30:6: error: incompatible types in assignment (need explicit conversion; missing method ?N?)
explicit.go:33:7: error: invalid type conversion (need explicit conversion; missing method ?N?)
explicit.go:36:5: error: incompatible types in assignment
R=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=31805
CL=31807
Diffstat (limited to 'test/interface')
-rw-r--r-- | test/interface/explicit.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/interface/explicit.go b/test/interface/explicit.go index 9b90cb7a5..bd1bd19a9 100644 --- a/test/interface/explicit.go +++ b/test/interface/explicit.go @@ -37,5 +37,5 @@ func main() { i2 = I2(i); // ERROR "need explicit|need type assertion" e = E(t); // ok - t = T(e); // ERROR "need explicit|need type assertion" + t = T(e); // ERROR "need explicit|need type assertion|incompatible" } |