Skip to content

text/scanner: incorrect handling of error returned from source #7594

@rui314

Description

@rui314
What does 'go version' print?
go version devel +2b85dda01af0 Wed Mar 19 10:14:04 2014 -0700 linux/amd64

text.scanner ignores an error returned from source if return values from source are (0,
<error>).

http://play.golang.org/p/V3A0NLBgSQ

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions