diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2017-01-31 16:31:11 -0800 |
|---|---|---|
| committer | Matthew Dempsky <mdempsky@google.com> | 2017-02-01 20:25:37 +0000 |
| commit | b761b07bf909d9ff7d1fdc11083104fd4e28f252 (patch) | |
| tree | 2ff4ef2a5d90eeeeb81bda266cbecc198f054be5 /src/database/sql/sql_test.go | |
| parent | 1cbc5aa5290437e81859911cf8e022be2448cc09 (diff) | |
| download | go-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
