aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2023-09-06 16:03:38 -0700
committerGopher Robot <gobot@golang.org>2023-09-08 18:54:34 +0000
commit0a49d4a7786dcc77b6ff4d687b6d4b14f307b5ef (patch)
tree85b50a1eefc9ee5469939cdc1e32ebda126ddea8 /src/encoding/json/encode.go
parent7f1f4a193662f18393ee7a189bccba4f3d1c3a64 (diff)
downloadgo-0a49d4a7786dcc77b6ff4d687b6d4b14f307b5ef.tar.xz
cmd/compile/internal/ir: simplify formatting of CompLitExpr
Composite literals always have a type now, so the extra fallback code isn't necessary. But also, to prepare for the upcoming removal of OrigNode, we need to print OSLICELIT with Implicit set as "... argument" to satisfy existing regress tests. Change-Id: I365e879066903eebf1b78e10c1b505565cea3ce3 Reviewed-on: https://go-review.googlesource.com/c/go/+/526396 Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Keith Randall <khr@google.com> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions