[Mono-bugs] [Bug 77147][Nor] New - Use of __arglist causes internal
compiler error
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Jan 3 15:28:21 EST 2006
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 vargaz at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=77147
--- shadow/77147 2006-01-03 15:28:21.000000000 -0500
+++ shadow/77147.tmp.18566 2006-01-03 15:28:21.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 77147
+Product: Mono: Compilers
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: vargaz at gmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Use of __arglist causes internal compiler error
+
+Testcase:
+
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+using System;
+
+public class Tests
+{
+ public void M4(int arg) { }
+ public void M4(int arg, __arglist) { }
+
+ public static void Main () {
+ }
+}
+<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+This causes:
+Unhandled Exception: System.IndexOutOfRangeException: Array index is out of
+range.
+in <0x00057> Mono.CSharp.Parameters:get_Item (Int32 pos)
+in <0x0000e> Mono.CSharp.Parameters:ParameterModifier (Int32 pos)
+in <0x001c0> Mono.CSharp.MethodCore:IsDuplicateImplementation
+(Mono.CSharp.MethodCore method)
+in <0x000ac> Mono.CSharp.Method:CheckForDuplications ()
+in <0x0005f> Mono.CSharp.MethodCore:CheckBase ()
+in <0x00010> Mono.CSharp.Method:CheckBase ()
+in <0x000bd> Mono.CSharp.Method:Define ()
+
+This prevents compilation of IronPython 1.0 Beta 1.
More information about the mono-bugs
mailing list