[Mono-bugs] [Bug 67042][Nor] Changed - Compiler crash with static string a; string b = a + "x"

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 30 Sep 2004 15:38:56 -0400 (EDT)


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 jluke@cfl.rr.com.

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

--- shadow/67042	2004-09-29 00:04:52.000000000 -0400
+++ shadow/67042.tmp.6608	2004-09-30 15:38:56.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Compilers
 Version: unspecified
 OS: All
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: jhill@arcfocus.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -62,6 +62,14 @@
 How often does this happen? 
 Always.
 
 Additional Information:
 When mcs fails, it will not output a file name or number, making this issue
 difficult to track in larger projects.
+
+------- Additional Comments From jluke@cfl.rr.com  2004-09-30 15:38 -------
+in expression.cs around line 3142, we are casting to Expression from a
+value in an ArrayList which is actually a Argument without checking
+the type.  A similar thing also happens in a few other places in that
+file.
+I will look into fixing this, but so far I seem to end up emitting
+invalid IL.