[Mono-bugs] [Bug 44468][Nor] Changed - user-defined implicit conversions with params fails
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Fri, 13 Jun 2003 06:22:55 -0400 (EDT)
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 timsuth@ihug.co.nz.
http://bugzilla.ximian.com/show_bug.cgi?id=44468
--- shadow/44468 Tue Jun 10 23:00:54 2003
+++ shadow/44468.tmp.14065 Fri Jun 13 06:22:55 2003
@@ -1,14 +1,14 @@
Bug#: 44468
Product: Mono/MCS
Version: unspecified
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: timsuth@ihug.co.nz
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -43,6 +43,22 @@
public static void Main(string[] args) {
Problem[] ps = new Problem[] { 1, 2, 3 }; // ok
Multi(1, 2, 3, 4); // fails to compile
}
}
+
+------- Additional Comments From timsuth@ihug.co.nz 2003-06-13 06:22 -------
+I've tested on the latest CVS (Fri Jun 13 10:20:51 UTC 2003) and the
+behaviour is the same.
+
+Note that
+ Multi(1, (Problem)2, (Problem)3, (Problem)4);
+works, as does
+ Problem a = 2;
+ Problem b = 3;
+ Problem c = 4;
+ Multi(a, b, c);
+
+It's only
+ Multi(1, 2, 3, 4);
+that fails.