Bugzilla – Bug 311197
C# jagged array does not compile under MCS
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by T.Fransen@mailned.nl 2002-05-30 15:14:26 MST ---- 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 ---- Additional Comments From lupus@ximian.com 2002-05-31 11:13:00 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO25318 *** Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"