[Mono-bugs] [Bug 63141][Nor] Changed - [PATCH] mcs crashes when array initializer is used for non-array type

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 29 Aug 2004 14:44:13 -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=63141

--- shadow/63141	2004-08-29 14:43:42.000000000 -0400
+++ shadow/63141.tmp.14011	2004-08-29 14:44:13.000000000 -0400
@@ -1,23 +1,23 @@
 Bug#: 63141
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: Gentoo
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 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 is used for non-array type
+Summary: [PATCH] mcs crashes when array initializer is used for non-array type
 
 using 1.0.1:
 
 public class A {
     A test = {
         new A()
@@ -41,6 +41,9 @@
 in <0x00012> Mono.CSharp.Driver:Main (string[])
 
 ------- Additional Comments From bmaurer@users.sf.net  2004-08-29 14:43 -------
 Created an attachment (id=9859)
 patch
 
+
+------- Additional Comments From bmaurer@users.sf.net  2004-08-29 14:44 -------
+If the type does not resolve to an array, give an error.