]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: check rune type bounds as int32, not uint32
authorIan Lance Taylor <iant@golang.org>
Thu, 27 Feb 2020 19:08:30 +0000 (11:08 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 27 Feb 2020 19:30:09 +0000 (19:30 +0000)
commit173dce8d2029cc3797537431b93d9ab04e135289
tree934c490d4a078690d1436e7838f2f7d75cc41ab7
parent42f8199290f27a65f2aba9f1f6b9bdfd2406612e
cmd/compile: check rune type bounds as int32, not uint32

Also, avoid string(i) where i has type int.

Updates #32479

Change-Id: If3c6edc8523860082726e034ef9e887b5f7fabd1
Reviewed-on: https://go-review.googlesource.com/c/go/+/221382
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/compile/internal/gc/const.go