diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2025-08-12 01:45:44 -0700 |
|---|---|---|
| committer | Joseph Tsai <joetsai@digital-static.net> | 2025-08-13 15:47:11 -0700 |
| commit | 0a75e5a07b858cbe6216c99fa12d582d063499d9 (patch) | |
| tree | 80b8f02ac4bc03a46af2ae6c44c0daedfcc54cd9 /src/encoding/json/v2/errors.go | |
| parent | de9b6f98759f718fb48ecef22c2275ac98f1871d (diff) | |
| download | go-0a75e5a07b858cbe6216c99fa12d582d063499d9.tar.xz | |
encoding/json/v2: fix wrong type with cyclic marshal error in map[string]any
The type reported in a ErrCycle is the wrong type due to a typo.
This discrepency was detected by setting optimizeCommon to false
and running the tests.
This only modifies code that is compiled in under goexperiment.jsonv2.
Change-Id: I68268f5c719d8b79a67424a35ed0647adf12288c
Reviewed-on: https://go-review.googlesource.com/c/go/+/695277
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/encoding/json/v2/errors.go')
0 files changed, 0 insertions, 0 deletions
