[Mono-bugs] [Bug 72697][Wis] Changed - mjs, can't handle properly the invocation of method before its definition has been reached.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 20 Feb 2005 21:25:25 -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 cesar@ciencias.unam.mx.
http://bugzilla.ximian.com/show_bug.cgi?id=72697
--- shadow/72697 2005-02-17 15:21:29.000000000 -0500
+++ shadow/72697.tmp.4784 2005-02-20 21:25:24.000000000 -0500
@@ -1,14 +1,14 @@
Bug#: 72697
Product: Mono: Compilers
Version: unspecified
-OS:
+OS: unknown
OS Details:
-Status: NEW
-Resolution:
-Severity:
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
Priority: Wishlist
Component: JScript
AssignedTo: mono-bugs@ximian.com
ReportedBy: cesar@ciencias.unam.mx
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -61,6 +61,16 @@
svn version: Thu Feb 17 13:32:22 CST 2005
------- Additional Comments From cesar@ciencias.unam.mx 2005-02-17 15:21 -------
Created an attachment (id=14253)
Invoke function before it has been declared test case.
+
+------- Additional Comments From cesar@ciencias.unam.mx 2005-02-20 21:25 -------
+Fixed on svn.
+
+We needed to check that the function object was not null when calling
+Function.NumOfArgs. Return -1 in that case, in the code generation
+phase we check if the desired number of args is -1, which means the
+actual arguments are the desired number of args.
+
+