[Mono-bugs] [Bug 47234][Nor] Changed - MCS cannot resolve between fix parameters and variable parameter lists

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 24 Mar 2004 00:28:46 -0500 (EST)


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 ravi@ximian.com.

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

--- shadow/47234	2003-08-06 10:40:25.000000000 -0400
+++ shadow/47234.tmp.21200	2004-03-24 00:28:46.000000000 -0500
@@ -1,16 +1,16 @@
 Bug#: 47234
-Product: Mono/MCS
+Product: Mono: Compilers
 Version: unspecified
 OS: Debian Woody
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
-Component: Misc
+Component: C#
 AssignedTo: ravi@ximian.com                            
 ReportedBy: JoergR@voelcker.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -47,6 +47,40 @@
 Created an attachment (id=5028)
 Test case
 
 
 ------- Additional Comments From ravi@ximian.com  2003-08-01 14:03 -------
 Assigning to myself
+
+------- Additional Comments From bmaurer@users.sf.net  2003-12-24 23:28 -------
+Simpler test case:
+
+class T {
+	static void Foo (int i, string s, T t) {}
+	static void Foo (int i, string s, params object [] array) {}
+	static void Main () { Foo (1, "", null); }
+}
+
+------- Additional Comments From bmaurer@users.sf.net  2003-12-25 16:29 -------
+Sorry, that test is correctly invalid, csc does not compile it
+
+
+------- Additional Comments From bmaurer@users.sf.net  2003-12-25 16:41 -------
+Sorry, that test is correctly invalid, csc does not compile it
+public class T {
+	static void Foo (T t, T tt)
+	{
+	}
+
+	static void Foo (params object[] theParams)
+	{
+	}
+
+	public static void Main()
+	{
+		Foo (new T (), null);
+	}
+}
+
+
+------- Additional Comments From ravi@ximian.com  2004-03-24 00:28 -------
+Fixed in CVS