From 3321470488e489e88adc7d01c213a28a467c8d0a Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 17 Jul 2009 16:12:29 -0700 Subject: [PATCH] Recognize gccgo error message. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/interface/explicit.go b/test/interface/explicit.go index 9b90cb7a5e..bd1bd19a96 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" } -- 2.48.1