[Mono-bugs] [Bug 74970][Wis] New - mjs's Parser fails on func decl inside catch stm.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon May 16 14:16:09 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=74970

--- shadow/74970	2005-05-16 14:16:08.000000000 -0400
+++ shadow/74970.tmp.11040	2005-05-16 14:16:09.000000000 -0400
@@ -0,0 +1,59 @@
+Bug#: 74970
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JScript
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: cesar at ciencias.unam.mx               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mjs's Parser fails on func decl inside catch stm.
+
+Description of Problem:
+mjs's parser fails at recognizing a function declaration inside a catch
+statement.
+
+Steps to reproduce the problem:
+mjs test-case.js
+
+Actual Results:
+cesar at itaca:~/mono/js-api-complience/mcs/jtests> mjs y.js
+
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x001ce> Microsoft.JScript.Parser:Function (Microsoft.JScript.AST
+parent, FunctionType ft)
+in <0x0100e> Microsoft.JScript.Parser:StatementHelper
+(Microsoft.JScript.AST parent)
+in <0x0002f> Microsoft.JScript.Parser:Statement (Microsoft.JScript.AST parent)
+in <0x00045> Microsoft.JScript.Parser:Statements (Microsoft.JScript.AST parent)
+in <0x00a16> Microsoft.JScript.Parser:StatementHelper
+(Microsoft.JScript.AST parent)
+in <0x0002f> Microsoft.JScript.Parser:Statement (Microsoft.JScript.AST parent)
+in <0x000a5> Microsoft.JScript.Parser:ParseFunctionBody
+(Microsoft.JScript.AST parent)
+in <0x002ec> Microsoft.JScript.Parser:Function (Microsoft.JScript.AST
+parent, FunctionType ft)
+in <0x000c8> 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 <0x00199> Driver:Main (System.String[] args)
+
+
+Expected Results:
+Compilation succeeded.
+
+How often does this happen? 
+Always.
+
+
+Additional Information:
+svn version of Mon May 16 13:13:46 CDT 2005


More information about the mono-bugs mailing list