aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/sql.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2018-11-28 14:34:45 -0800
committerRobert Griesemer <gri@golang.org>2018-11-30 23:48:00 +0000
commita37d95c74a68da299073ff5a5bb077aa60aeab39 (patch)
treeff8a5756f9fc4536a91aa321cd4a3e6f9910b443 /src/database/sql/sql.go
parentd029058b5912312963225c40ae4bf44e3cb4be76 (diff)
downloadgo-a37d95c74a68da299073ff5a5bb077aa60aeab39.tar.xz
cmd/compile: fix constant index bounds check and error message
While here, rename nonnegintconst to indexconst (because that's what it is) and add Fatalf calls where we are not expecting the indexconst call to fail, and fixed wrong comparison in smallintconst. Fixes #23781. Change-Id: I86eb13081c450943b1806dfe3ae368872f76639a Reviewed-on: https://go-review.googlesource.com/c/151599 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/database/sql/sql.go')
0 files changed, 0 insertions, 0 deletions