[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
Thu, 25 Dec 2003 16:41:06 -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 bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=47234
--- shadow/47234 2003-12-25 16:29:22.000000000 -0500
+++ shadow/47234.tmp.2466 2003-12-25 16:41:06.000000000 -0500
@@ -60,6 +60,24 @@
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);
+ }
+}
+