aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2023-08-24 11:58:58 +0200
committerGopher Robot <gobot@golang.org>2023-08-24 20:39:18 +0000
commit96b6e78ea906001a31d03d0acbfc4a4f20eb7db9 (patch)
treeccc096e9a070b2443ad96bee144c982d7b3246e5 /src/encoding
parente63be91667aeaafe2ce32c4da69f89097e074bbc (diff)
downloadgo-96b6e78ea906001a31d03d0acbfc4a4f20eb7db9.tar.xz
cmd/compile/internal/syntax: use strings.LastIndexByte in trailingDigits
Previously, strings.LastIndexByte couldn't be used because it was only added in Go 1.5 but Go 1.4 was required for bootstrapping. In Go 1.18, the bootstrap toolchain was bumped to Go 1.17 (see #44505), thus strings.LastIndexByte can be used now. Change-Id: I01a70a59dbfc853cf03d49747a2dd62d21ba74e9 Reviewed-on: https://go-review.googlesource.com/c/go/+/522197 Reviewed-by: Ian Lance Taylor <iant@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Matthew Dempsky <mdempsky@google.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions