diff options
| author | Ian Lance Taylor <iant@golang.org> | 2017-01-24 13:22:21 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-10-18 17:53:42 +0000 |
| commit | 0a8e3477519fe4a657f5a8fc212223a436a17f57 (patch) | |
| tree | b53d7db9decf69b6ab5cbe5d3bb092194664c5c5 /src/text/template/exec.go | |
| parent | 138bfc28090ccf03450cf02cb24f06b60f57cd3b (diff) | |
| download | go-0a8e3477519fe4a657f5a8fc212223a436a17f57.tar.xz | |
test: update issue5089.go for recent gccgo changes
As of https://golang.org/cl/43456 gccgo now gives a better error
message for this test.
Before:
fixedbugs/issue5089.go:13:1: error: redefinition of ‘bufio.Buffered’: receiver name changed
func (b *bufio.Reader) Buffered() int { // ERROR "non-local|redefinition"
^
fixedbugs/issue5089.go:11:13: note: previous definition of ‘bufio.Buffered’ was here
import "bufio" // GCCGO_ERROR "previous"
^
Now:
fixedbugs/issue5089.go:13:7: error: may not define methods on non-local type
func (b *bufio.Reader) Buffered() int { // ERROR "non-local|redefinition"
^
Change-Id: I4112ca8d91336f6369f780c1d45b8915b5e8e235
Reviewed-on: https://go-review.googlesource.com/c/130955
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/text/template/exec.go')
0 files changed, 0 insertions, 0 deletions
