aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql_test.go
diff options
context:
space:
mode:
authorMatthew Dempsky <mdempsky@google.com>2017-01-31 16:31:11 -0800
committerMatthew Dempsky <mdempsky@google.com>2017-02-01 20:25:37 +0000
commitb761b07bf909d9ff7d1fdc11083104fd4e28f252 (patch)
tree2ff4ef2a5d90eeeeb81bda266cbecc198f054be5 /src/database/sql/sql_test.go
parent1cbc5aa5290437e81859911cf8e022be2448cc09 (diff)
downloadgo-b761b07bf909d9ff7d1fdc11083104fd4e28f252.tar.xz
cmd/compile: simplify noding const declarations
By grouping all the logic into constDecl, we're able to get rid of the lastconst and lasttype globals, and simplify the logic slightly. Still clunky, but much easier to reason about. Change-Id: I446696c31084b3bfc1fd5d3651655a81ddd159ab Reviewed-on: https://go-review.googlesource.com/36023 Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/database/sql/sql_test.go')
0 files changed, 0 insertions, 0 deletions