You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Try to marshal (xml) a struct with attribute marked field of type []string
http://play.golang.org/p/rUI1x6pOnh
What is the expected output?
An error returned from marshal
What do you see instead?
It panics.
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g
Which operating system are you using?
Archlinux 64 bit
Which version are you using? (run 'go version')
go version go1.1.2 linux/amd64
Please provide any additional information below.
I realize it is a bit of an unorthodox usage that may not even make sense but an error
is perhaps preferable to a panic?
The text was updated successfully, but these errors were encountered:
by dahankzter:
The text was updated successfully, but these errors were encountered: