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
mvdan
changed the title
encoding/json: json.Unmarshal on embedded unexported structs panics
encoding/json: Unmarshal on unexported anonymous struct field panics
Oct 11, 2018
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.11 linux/amd64
Does this issue reproduce with the latest release?
yes. Does not happen with go1.9,but happen with go1.10
What operating system and processor architecture are you using (
go env
)?ubuntu16.04 LTS
What did you do?
https://play.golang.org/p/Kw-Gm5YbkJw
What did you expect to see?
This only happen when
innerType
has a method named with capital letter.If method replace to f(),the panic won't happen.What did you see instead?
The text was updated successfully, but these errors were encountered: