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?
to your account
This program should probably panic instead of printing [-100]uint8: https://play.golang.org/p/gnjsjBoKNvQ
/cc @griesemer @ianlancetaylor
The text was updated successfully, but these errors were encountered:
I agree that this should panic.
I'll take a stab if there's no objection!
@tpaschalis No objection. I think this should be a pretty straightforward issue to fix. Thanks.
Change https://golang.org/cl/284136 mentions this issue: reflect: panic if ArrayOf is called with negative count
reflect: panic if ArrayOf is called with negative count
Successfully merging a pull request may close this issue.