Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

encoding/json: failure to decode object from a file interface #9016

Closed
gopherbot opened this issue Oct 29, 2014 · 3 comments

Comments

Projects
None yet
3 participants
@gopherbot
Copy link

commented Oct 29, 2014

by ewt@pendo.io:

Before filing a bug, please check whether it has been fixed since the
latest release. Search the issue tracker and check that you're running the
latest version of Go:

Run "go version" and compare against
http://golang.org/doc/devel/release.html  If a newer version of Go exists,
install it and retry what you did to reproduce the problem.

Thanks.

What does 'go version' print?

Using play.golang.org

What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.

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

1. Run as is -- it fails
2. Uncomment out lines 29 and 30, comment out line 33
3. Now it works

What should have happened instead?

Both versions of the program should be identical; using an intermediate buffer should
not be necessary.
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Oct 29, 2014

Comment 1:

Labels changed: added repo-main, release-go1.5.

@gopherbot

This comment has been minimized.

Copy link
Author

commented Oct 29, 2014

Comment 2 by ewt@pendo.io:

Turns out the problem is in the compressed input, not in go. Sorry for the false alarm.
@ianlancetaylor

This comment has been minimized.

Copy link
Contributor

commented Oct 29, 2014

Comment 3:

Status changed to Retracted.

@bradfitz bradfitz modified the milestone: Go1.5 Dec 16, 2014

@bradfitz bradfitz removed the release-go1.5 label Dec 16, 2014

@golang golang locked and limited conversation to collaborators Jun 25, 2016

This issue was closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.