encoding/gob: fix mutually recursive slices of structs
Fix by setting the element type if we discover it's zero while building. We could have fixed this better with foresight by doing the id setting in a different sequence, but doing that now would break binary compatibility. Fixes #2995. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5675083
Showing
Please register or sign in to comment