[Mono-bugs] [Bug 31697][Nor] Changed - mcs generates incorrect code for base() constructor calls using varargs
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
3 Oct 2002 20:51:54 -0000
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 vladimir@pobox.com.
http://bugzilla.ximian.com/show_bug.cgi?id=31697
--- shadow/31697 Thu Oct 3 14:21:03 2002
+++ shadow/31697.tmp.27543 Thu Oct 3 16:51:54 2002
@@ -1,14 +1,14 @@
Bug#: 31697
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: vladimir@pobox.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -39,6 +39,11 @@
}
/** end **/
mcs will generate a normal 2-parameter function call to BarBase:.ctor
instead of creating an array to hold the args and passing it correctly.
+
+------- Additional Comments From vladimir@pobox.com 2002-10-03 16:51 -------
+note: base(new int[] {1,2}) seems to work fine (since the array is
+explicitly constructed).
+