[Mono-bugs] [Bug 34187][Nor] Changed - shift-assignment not handled with a char type
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
19 Nov 2002 21:54:41 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=34187
--- shadow/34187 Tue Nov 19 16:52:41 2002
+++ shadow/34187.tmp.25851 Tue Nov 19 16:54:41 2002
@@ -1,12 +1,12 @@
Bug#: 34187
Product: Mono/MCS
Version: unspecified
OS: other
OS Details:
-Status: NEW
+Status: RESOLVED
Resolution:
Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: lupus@ximian.com
@@ -24,11 +24,18 @@
x <<= 1;
}
}
I didn't try other operators, but there may be similar issues.
------- Additional Comments From miguel@ximian.com 2002-11-19 16:52 -------
+14.13.2 forbids this use (in particular for char).
+
+The correct code would be:
+
+ x <<= (char) 1
+
+------- Additional Comments From miguel@ximian.com 2002-11-19 16:54 -------
14.13.2 forbids this use (in particular for char).
The correct code would be:
x <<= (char) 1