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/gob: zero pointer values #5275

Closed
gopherbot opened this issue Apr 12, 2013 · 1 comment
Closed

encoding/gob: zero pointer values #5275

gopherbot opened this issue Apr 12, 2013 · 1 comment

Comments

@gopherbot
Copy link

by awalterschulze:

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 steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. http://play.golang.org/p/d-6SskGBBg
2.
3.

What is the expected output?
equal

What do you see instead?
pointer to zero value has been decoded as a nil value

Which compiler are you using (5g, 6g, 8g, gccgo)?


Which operating system are you using?


Which version are you using?  (run 'go version')


Please provide any additional information below.
@minux
Copy link
Member

minux commented Apr 12, 2013

Comment 1:

Status changed to Duplicate.

Merged into issue #4609.

@mikioh mikioh changed the title gob of zero pointer values encoding/gob: zero pointer values Feb 26, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants