aboutsummaryrefslogtreecommitdiff
path: root/src/encoding/json/encode.go
diff options
context:
space:
mode:
authorKeith Randall <khr@google.com>2018-01-22 10:06:10 -0800
committerBrad Fitzpatrick <bradfitz@golang.org>2018-02-14 20:28:08 +0000
commit8f9cf5525e2ae3107c0df57ee563fcb0372710cf (patch)
tree15d10b846d9db889f224341c366804a394de7a67 /src/encoding/json/encode.go
parentd1f679a6aff2e96364abb7f371f9da24a40e7a5c (diff)
downloadgo-8f9cf5525e2ae3107c0df57ee563fcb0372710cf.tar.xz
cmd/compile: constant fold !true and !false
Constant fold Not of boolean constants. Noticed while working on #23504. Change-Id: I965705154ee7348a1a159fad4e029b922d3171b3 Reviewed-on: https://go-review.googlesource.com/88956 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Martin Möhrmann <moehrmann@google.com>
Diffstat (limited to 'src/encoding/json/encode.go')
0 files changed, 0 insertions, 0 deletions