[Mono-bugs] [Bug 59750][Nor] Changed - test-269 - varargs problem

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 9 Jun 2004 13:12:04 -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 lupus@ximian.com.

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

--- shadow/59750	2004-06-09 12:51:09.000000000 -0400
+++ shadow/59750.tmp.1231	2004-06-09 13:12:04.000000000 -0400
@@ -1,16 +1,16 @@
 Bug#: 59750
-Product: Mono: Runtime
+Product: Mono: Compilers
 Version: unspecified
 OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
 Severity: Unknown
 Priority: Normal
-Component: misc
+Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: martin@ximian.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -98,6 +98,17 @@
 signature, followed by the 0x8 followed by the varargs 0x2,0x3,0x4.
 However, the ArgIterator thinks the arguments immediately follow the
 signature.
 
 ------- Additional Comments From lupus@ximian.com  2004-06-09 12:51 -------
 Fixed in cvs.
+
+------- Additional Comments From lupus@ximian.com  2004-06-09 13:12 -------
+I improved the test, too and this exposed a few mcs bugs
+when instance vararg methods are called.
+Mono gives:
+** ERROR **: Invalid IL code at IL0053 in Class1:Main (string[]):
+IL_0053: callvirt  0x06000007
+and peverify the same:
+[IL]: Error: [d:\cstests\test-269.exe : Class1::Main] [offset
+0x00000053] [opcode callvirt] [found Int32] [expected objref 'Class1']
+Unexpected type on the stack.