[Mono-bugs] [Bug 75801][Wis] New - mjs do not resolve properly method calls inside the for initialization body.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Aug 12 19:45:31 EDT 2005


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 at ciencias.unam.mx.

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

--- shadow/75801	2005-08-12 19:45:31.000000000 -0400
+++ shadow/75801.tmp.23847	2005-08-12 19:45:31.000000000 -0400
@@ -0,0 +1,54 @@
+Bug#: 75801
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JScript
+AssignedTo: cesar at ciencias.unam.mx                            
+ReportedBy: cesar at ciencias.unam.mx               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mjs do not resolve properly method calls inside the for initialization body.
+
+Description of Problem:
+
+mjs miscompile programs that contain method calls of declared functions in
+the initialization part of a for.
+
+mjs is generating late binding logic because it assumes that TimeFromYear
+is not a function declaration, which can only happen if it's not resolving
+it properly.
+
+It's possible that in other flow control constructs happens the same. Test
+that.
+
+Steps to reproduce the problem:
+1. Compile test case.
+ 
+
+Actual Results:
+
+** ERROR **: Invalid IL code at IL0056 in JScript 0:GetLastSundayInOctober
+(object,Microsoft.JScript.Vsa.VsaEngine,object): IL_0056: call      0x0a000008
+
+
+aborting...
+Aborted
+
+Expected Results:
+
+End cleanly.
+
+How often does this happen? 
+
+Always.
+
+Additional Information:
+
+See test case.


More information about the mono-bugs mailing list