From 6a5db20d144c22c356492c2ba8d8a325402d4439 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 17 Jan 2012 18:00:34 -0800 Subject: [PATCH] test: match gccgo error messages for bug345 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit bug345.dir/main.go:25:18: error: argument 1 has incompatible type (need explicit conversion; missing method ‘Write’) bug345.dir/main.go:27:8: error: argument 1 has incompatible type R=golang-dev, gri CC=golang-dev https://golang.org/cl/5556043 --- test/fixedbugs/bug345.dir/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixedbugs/bug345.dir/main.go b/test/fixedbugs/bug345.dir/main.go index 5bdc713f4e..ddba8dad40 100644 --- a/test/fixedbugs/bug345.dir/main.go +++ b/test/fixedbugs/bug345.dir/main.go @@ -22,7 +22,7 @@ func main() { // main.go:27: cannot use &x (type *"io".SectionReader) as type *"/Users/rsc/g/go/test/fixedbugs/bug345.dir/io".SectionReader in function argument var w io.Writer - bufio.NewWriter(w) // ERROR "test/io" + bufio.NewWriter(w) // ERROR "test/io|has incompatible type" var x goio.SectionReader - io.SR(&x) // ERROR "test/io" + io.SR(&x) // ERROR "test/io|has incompatible type" } -- 2.50.0