1
0
mirror of https://github.com/golang/go synced 2024-10-05 12:21:22 -06:00
go/src/pkg/text
Rui Ueyama b89a9fff5e text/scanner: handle non-io.EOF errors
Currently Scan ignores an error returned from source if the number
of bytes source has read is 0.

Fixes #7594.

LGTM=gri
R=golang-codereviews, bradfitz, gri
CC=golang-codereviews
https://golang.org/cl/78120043
2014-03-21 17:05:57 -07:00
..
scanner text/scanner: handle non-io.EOF errors 2014-03-21 17:05:57 -07:00
tabwriter text/tabwriter: improve panic backtraces 2014-02-04 10:19:02 -08:00
template text/template: don't panic when function call evaluates a nil pointer 2014-02-14 16:26:47 -08:00