[Mono-bugs] [Bug 63144][Wis] Changed - [PATCH] mcs crashes when array initializer uses unknown constructor

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 29 Aug 2004 14:25:42 -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 bmaurer@users.sf.net.

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

--- shadow/63144	2004-08-29 14:24:40.000000000 -0400
+++ shadow/63144.tmp.13818	2004-08-29 14:25:42.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 63144
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: Gentoo
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: colin@breame.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: mcs crashes when array initializer uses unknown constructor
+Summary: [PATCH] mcs crashes when array initializer uses unknown constructor
 
 mcs 1.0.1.
 
 public class A {
     A[] test = {
         new A("test")
@@ -61,6 +61,10 @@
 in <0x00012> Mono.CSharp.Driver:Main (string[])
 
 ------- Additional Comments From bmaurer@users.sf.net  2004-08-29 14:24 -------
 Created an attachment (id=9858)
 patch
 
+
+------- Additional Comments From bmaurer@users.sf.net  2004-08-29 14:25 -------
+Simple patch -- make sure that ArrayCreation returns null from Resolve
+if it has any invalid children