[Mono-bugs] [Bug 34187][Nor] New - shift-assignment not handled with a char type

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Nov 2002 10:51:08 -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 lupus@ximian.com.

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

--- shadow/34187	Mon Nov 18 05:51:08 2002
+++ shadow/34187.tmp.10076	Mon Nov 18 05:51:08 2002
@@ -0,0 +1,27 @@
+Bug#: 34187
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: lupus@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: shift-assignment not handled with a char type
+
+The following program doesn't compile with mcs, though it does with csc.
+(it's a sample from thinking in c#).
+class T {
+	static void Main() {
+		char x = (char)1;
+		x <<= 1;
+	}
+}
+I didn't try other operators, but there may be similar issues.