aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2023-09-06 15:52:55 -0700
committerGopher Robot <gobot@golang.org>2023-09-08 18:51:02 +0000
commit7f1f4a193662f18393ee7a189bccba4f3d1c3a64 (patch)
tree94c96770bc9bb5919ed1a274ef51e081dc0aae28 /src/encoding/json/encode.go
parent18c6ec1e4a62d25ce9801174c1c17360eb95233c (diff)
downloadgo-7f1f4a193662f18393ee7a189bccba4f3d1c3a64.tar.xz
cmd/internal/ir: remove ConstExpr in favor of BasicLit
OrigNode will be going away soon, which is the only reason for ConstExpr to exist. Otherwise, it's identical to BasicLit. To keep existing code working, change NewConstExpr to construct and return a BasicLit instead. Change-Id: I68b43ec1fcaa57e6723f289ce9f953996aeefb14 Reviewed-on: https://go-review.googlesource.com/c/go/+/526395 Reviewed-by: Keith Randall <khr@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@golang.org> Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com> Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions