aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/vet/testdata/deadcode/deadcode.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2019-02-14 17:53:14 -0800
committerRobert Griesemer <gri@golang.org>2019-02-19 22:44:43 +0000
commitc3b49186a6781de58a07bc49ae289354ae98e3be (patch)
tree45460314e9d5c60c1cdbdd3d5c3d79b9206db0d4 /src/cmd/vet/testdata/deadcode/deadcode.go
parent041d31b8820b62996cf1aa7b6fff77a818f2d94d (diff)
downloadgo-c3b49186a6781de58a07bc49ae289354ae98e3be.tar.xz
go/scanner: accept 'i' suffix orthogonally on all numbers
This change accepts the 'i' suffix on binary and octal integer literals as well as hexadecimal floats. The suffix was already accepted on decimal integers and floats. See also the respective language in the spec change: https://golang.org/cl/161098 Change-Id: I0c182bdf58f8fd1f70090e581b3ccb2f5e2e4e79 Reviewed-on: https://go-review.googlesource.com/c/162880 Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/cmd/vet/testdata/deadcode/deadcode.go')
0 files changed, 0 insertions, 0 deletions