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 [EMAIL PROTECTED]

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

--- shadow/77401        2006-01-30 06:54:19.000000000 -0500
+++ shadow/77401.tmp.26858      2006-01-30 06:54:19.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 77401
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: init context lost with comma-separated initializations
+
+The following test doesn't compile with mcs:
+class T {
+       static int[] a = {1,2},
+               b = {3, 4};
+       static void Main () {}
+}
+The error is:
+array-init.cs(5,3): error CS0622: Can only use array initializer
+expressions to assign to array types. Try using a new expression instead.
+
+It looks like the initialization context info is lost somewhere.
+This prevents iTextSharp from compiling.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to