[Mono-bugs] [Bug 25557] New - C# jagged array does not compile under MCS
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
30 May 2002 19:14:26 -0000
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 t.fransen@mailned.nl.
http://bugzilla.ximian.com/show_bug.cgi?id=25557
--- shadow/25557 Thu May 30 15:14:26 2002
+++ shadow/25557.tmp.29888 Thu May 30 15:14:26 2002
@@ -0,0 +1,46 @@
+Bug#: 25557
+Product: Mono/MCS
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: T.Fransen@mailned.nl
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: C# jagged array does not compile under MCS
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+The MCS fails to compile constructs like:
+
+private int[][] slen = new int[2][]{
+ new int[]{0, 0, 0, 0, 3, 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4},
+ new int[]{0, 1, 2, 3, 0, 1, 2, 3, 1, 2, 3, 1, 2, 3, 2, 3}
+ };
+
+Steps to reproduce the problem:
+1. Create a small program that has such a 2 dim jagged array
+2. Compile
+3.
+
+Actual Results:
+
+Compilation fails
+
+Expected Results:
+
+Success
+
+How often does this happen?
+Always
+
+Additional Information:
+The MS compiler seems to be happy with this construct