-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
decoding table arrays need to be handled better #49
Comments
This was referenced Jun 27, 2014
+1 Is it possible to use a slice of structs currently? (If so, how?) I'm getting |
Fixed by #84. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following produces a runtime error:
This is because (I think) the default value. The decoder is probably checking if it's not nil, and then just assuming that it is the right size. It should be smarter. (Just appending isn't quite right either, because I think it should overwrite the default value. But I should probably check the behavior of the standard library decoders before implementing that.)
The text was updated successfully, but these errors were encountered: