[Mono-bugs] [Bug 39018][Nor] Changed - Missing implicit conversion on & operator.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Mon, 3 Mar 2003 18:36:16 -0500 (EST)


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=39018

--- shadow/39018	Mon Mar  3 18:31:25 2003
+++ shadow/39018.tmp.14569	Mon Mar  3 18:36:16 2003
@@ -26,6 +26,21 @@
 	}
 }
 
 ------- Additional Comments From miguel@ximian.com  2003-03-03 18:31 -------
 This seems to be caused by the constant folder, as the constant folded
 is not elegible for a few of the IntLiteral implicit conversions.
+
+------- Additional Comments From miguel@ximian.com  2003-03-03 18:36 -------
+Funny, because this fails as well, but works with CSC:
+
+class X {
+	static void Main ()
+	{
+		uint a = 1, b = 2;
+		const int l = 1;
+		const int r = 31;
+		
+		long ll = (b & (l << r));
+	}
+}
+