Go patch committed: Correct type of character expressions

Ian Lance Taylor iant@google.com
Tue Jan 24 19:34:00 GMT 2012


This patch to the Go compiler corrects the type of expressions involving
untyped character constants.  An expression like 'a' + 1 should take on
the type rune, not the type int.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1590 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120124/25581b19/attachment.bin>


More information about the Gcc-patches mailing list