[Mono-bugs] [Bug 41906][Nor] Changed - MCS fumbles array initializer

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 27 Apr 2003 12:44:02 -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 miguel@ximian.com.

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

--- shadow/41906	Fri Apr 25 22:47:34 2003
+++ shadow/41906.tmp.9572	Sun Apr 27 12:44:02 2003
@@ -1,13 +1,13 @@
 Bug#: 41906
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: r.h.lee@attbi.com               
 QAContact: mono-bugs@ximian.com
@@ -63,6 +63,18 @@
 (Mono.CSharp.TypeContainer,Mono.CSharp.Block,object)
 in <0x00023> 00 Mono.CSharp.Method:Emit (Mono.CSharp.TypeContainer)
 in <0x00297> 00 Mono.CSharp.TypeContainer:Emit ()
 in <0x004c8> 00 Mono.CSharp.RootContext:EmitCode ()
 in <0x007c9> 00 Mono.CSharp.Driver:MainDriver (string[])
 in <0x0000f> 00 Mono.CSharp.Driver:Main (string[])
+
+------- Additional Comments From miguel@ximian.com  2003-04-27 12:44 -------
+The crash is solved on CVS.
+
+The provided program is not valid C#, you want something like:
+
+new Test [2] = {
+   new Test ('a', 2),
+   new Test ('b', 3)
+}
+
+With appropriate constructors.