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: Check for GobEncoders/Decoders within structs? #6737
Labels
Comments
I actually just identified what I think is the problem, since upon further inspection I found the gob code checks for this case. I've changed my code locally, and the example runs. In encoding/gob/type.go, function implementsInterface, the for loop contains a return, when it should be a break. The next if statement after the loop (for this case) is impossible to reach. Attachments:
|
Submitted a code review for the patch. https://golang.org/cl/23470043 |
Labels changed: added priority-soon, removed priority-triage. Owner changed to @robpike. Status changed to Accepted. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: