]> Cypherpunks.ru repositories - gostls13.git/commit
encoding/json: revert "add "json: " prefix to SyntaxError messages"
authorKevin Burke <kev@inburke.com>
Fri, 27 Nov 2020 21:55:27 +0000 (13:55 -0800)
committerJoe Tsai <thebrokentoaster@gmail.com>
Tue, 1 Dec 2020 22:51:45 +0000 (22:51 +0000)
commit283d65413db75edbc4691c4fecf23228509436f0
tree4831d9aa2c2bde40021a296201a0f8502ed4617c
parent7fca39aa05ad3c60abac1ae51ae9847dfbe017d6
encoding/json: revert "add "json: " prefix to SyntaxError messages"

This reverts commit 6af088bfc66c13143c9ef46b4cf0805df77a8fbe.

Reason for revert: Broke many tests inside Google which implies many
tests were broken outside of Google as well. The tests may be brittle
but still would require work to change and it's not clear it's worth
the benefit.

Updates #36221
Fixes #42675

Change-Id: Id3a14eb37e7119f5abe50e80dfbf120fdc44db72
Reviewed-on: https://go-review.googlesource.com/c/go/+/273747
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Trust: Joe Tsai <thebrokentoaster@gmail.com>
doc/go1.16.html
src/cmd/go/testdata/script/mod_proxy_invalid.txt
src/cmd/go/testdata/script/mod_query_empty.txt
src/encoding/json/scanner.go
src/html/template/escape_test.go