-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
What steps will reproduce the problem? 1. Create a map of type map[string]interface{} 2. Add a string or int slice as a value 3. Try to encode the map with the gob package What is the expected output? Encoded gob What do you see instead? gob: type not registered for interface: []string Which compiler are you using (5g, 6g, 8g, gccgo)? 6g Which operating system are you using? Linux (Fedora 15) Which revision are you using? (hg identify) 16bfa562ba76 weekly/weekly.2011-07-07 Please provide any additional information below. I've got a patch to fix this along with a unit test: http://golang.org/cl/4672056/ I don't know why, but it doesn't appear to have gotten emailed out to the list when I created the code review. That might have been an error on my part however, it was my first time creating a code review.