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
Should not appear slice bounds out of range #29833
Comments
Commenting out the line doesn't make the program panic: https://play.golang.org/p/VrcWRTHJh2m Please note that the issue tracker is for bugs in Go. If you have a question about your code, see https://golang.org/wiki/Questions. |
did you sure the playground is go1.11.4 @mvdan |
Yes. I even tried it locally with both |
are you didn't Commenting out the line |
I am commenting it out - see the playground link I pasted earlier. |
Thank you , My English is poor,What I want to express is why panic when didn't commenting out the line @mvdan |
Ok, now I understand what you meant. The good news is that this is already being tracked in #29503; it will be fixed in the upcoming 1.11.5. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
run the code will recurrent
code link://https://play.golang.org/p/-vi8ee_6RWF
What did you expect to see?
Comment out
return nil, errors.New("")will to run without errorWhat did you see instead?
I can't understand why this is
The text was updated successfully, but these errors were encountered: