[Mono-bugs] [Bug 79301][Nor] New - [GMCS] does not compile arithmetic operations requiring lifted conversion

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 6 11:54:11 EDT 2006


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 marek.safar at seznam.cz.

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

--- shadow/79301	2006-09-06 11:54:11.000000000 -0400
+++ shadow/79301.tmp.22735	2006-09-06 11:54:11.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 79301
+Product: Mono: Compilers
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: marek.safar at seznam.cz               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] does not compile arithmetic operations requiring lifted conversion
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. 
+
+class T
+{
+	public void Foo ()
+	{
+		int? f = null * null + null / null % null;
+	}
+}
+
+Actual Results:
+
+error CS0037: Cannot convert null to `int' because it is a value type
+
+
+Expected Results:
+
+No error.
+
+How often does this happen? 
+
+
+Additional Information:


More information about the mono-bugs mailing list