[Mono-bugs] [Bug 75461][Nor] New - [GMCS] array params don't help infer types

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Jul 4 15:06:58 EDT 2005


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 at users.sf.net.

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

--- shadow/75461	2005-07-04 15:06:57.000000000 -0400
+++ shadow/75461.tmp.26129	2005-07-04 15:06:57.000000000 -0400
@@ -0,0 +1,29 @@
+Bug#: 75461
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: martin at ximian.com                            
+ReportedBy: bmaurer at users.sf.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] array params don't help infer types
+
+GMCS does not compile
+
+class X {
+      static void Main ()
+      {
+	string [] s = { "a", "b", "a" };
+	System.Array.FindAll (s, delegate (string str) { return str == "a"; });
+      }
+}
+
+While csc v2 does.


More information about the mono-bugs mailing list