[Mono-bugs] [Bug 74677][Wis] New - mjs can't parse properly 'in' statement.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 20 Apr 2005 19:35:37 -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 cesar@ciencias.unam.mx.


--- shadow/74677	2005-04-20 19:35:37.000000000 -0400
+++ shadow/74677.tmp.14737	2005-04-20 19:35:37.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 74677
+Product: Mono: Compilers
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: JScript
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: cesar@ciencias.unam.mx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mjs can't parse properly 'in' statement.
+Description of Problem:
+An parsing error is raised when compiling the attached test case. 
+Steps to reproduce the problem:
+1. Compile with: mjs test-case.js
+Actual Results:
+cesar@itaca:~/mono/mcs/jtests> mjs pi.js
+error: msg.no.paren, pi.js, 1
+Unhandled Exception: System.Exception: must create expr stm with
+in <0x000ca> Microsoft.JScript.Parser:Statement (Microsoft.JScript.AST parent)
+in <0x00136> Microsoft.JScript.Parser:Parse ()
+in <0x0004c> Microsoft.JScript.Parser:Parse (System.String source_string,
+System.String source_location, Int32 line_number)
+in <0x001cf> Microsoft.Vsa.BaseVsaEngine:Compile ()
+in <0x00186> Driver:Main (System.String[] args)
+Expected Results:
+x =  true
+How often does this happen? 
+Additional Information:
+SVN version from: Wed Apr 20 17:13:57 CDT 2005