]> Cypherpunks repositories - gostls13.git/commitdiff
Recognize gccgo error message.
authorIan Lance Taylor <iant@golang.org>
Fri, 17 Jul 2009 23:12:29 +0000 (16:12 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 17 Jul 2009 23:12:29 +0000 (16:12 -0700)
   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

test/interface/explicit.go

index 9b90cb7a5e7c1663ffcb5aa23b4540d8a1803f2a..bd1bd19a9663d1b864a1876aae31456998e5129c 100644 (file)
@@ -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"
 }