[Mono-bugs] [Bug 23932] Changed - integer literals for "small" integer types (byte)

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
7 May 2002 05:31:04 -0000


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gonzalo@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=23932

--- shadow/23932	Mon Apr 29 11:25:38 2002
+++ shadow/23932.tmp.517	Tue May  7 01:31:04 2002
@@ -42,6 +42,14 @@
 System.Byte constant.
 
 Martin
 
 ------- Additional Comments From lupus@ximian.com  2002-04-29 11:25 -------
 This happens also with the ms runtime on windows.
+
+------- Additional Comments From gonzalo@ximian.com  2002-05-07 01:31 -------
+The C-Sharp spec. says (pg. 72):
+The type of an integer literal is determined as follows:
+* If the literal has no suffix, it has the first of these types in
+which its value can be represented: int, uint, long, ulong.
+
+