aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits/decoder.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2022-07-25 12:21:21 -0700
committerMatthew Dempsky <mdempsky@google.com>2022-07-28 07:31:36 +0000
commit831fdf1dff5e38c6c23922880d97ac99fe30f311 (patch)
tree3a8c062895e6cdcfa34d360fb2dd034631909b6d /src/internal/pkgbits/decoder.go
parent92798176e76f4ab69d4f18adf40b1a2aab4e3ea1 (diff)
downloadgo-831fdf1dff5e38c6c23922880d97ac99fe30f311.tar.xz
[dev.unified] cmd/compile: extract nil handling from exprType
Type switches are the only context where exprType was used and `nilOK` was true. It'll simplify subsequent dictionary work somewhat if exprType doesn't need to worry about `nil`, so extract this logic and move it into switchStmt instead. Change-Id: I3d810f465173f5bb2e2dee7bbc7843fff6a62ee5 Reviewed-on: https://go-review.googlesource.com/c/go/+/419474 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com> Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/internal/pkgbits/decoder.go')
0 files changed, 0 insertions, 0 deletions