What steps will reproduce the problem?
http://play.golang.org/p/2IimLnzU5Z
What is the expected output?
{1 0}
What do you see instead?
panic: runtime error: index out of range
Which compiler are you using (5g, 6g, 8g, gccgo)?
6g; play.golang.org
Which operating system are you using?
linux; play.golang.org
Which version are you using? (run 'go version')
weekly.2012-03-22; play.golang.org
Please provide any additional information below.
The text was updated successfully, but these errors were encountered:
…l the empty string into an integer
««« backport 7ee60b35f644
encoding/json: Fix panic when trying to unmarshal the empty string into an integer
Fixes#3450.
R=rsc, bradfitz
CC=golang-dev
https://golang.org/cl/6035050
»»»
by bigjake2s:
The text was updated successfully, but these errors were encountered: