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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=75166 --- shadow/75166 2005-06-06 19:17:47.000000000 -0400 +++ shadow/75166.tmp.6696 2005-06-06 19:17:47.000000000 -0400 @@ -0,0 +1,53 @@ +Bug#: 75166 +Product: Mono: Compilers +Version: unspecified +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Wishlist +Component: JScript +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: break statement not getting proper parent. + +Description of Problem: +mjs is marking an error when a break statement appears inside another +statement which is inside a for statement. + +Steps to reproduce the problem: +Compile the attached test case. + +Actual Results: +Unhandled Exception: System.Exception: A break statement can't be outside a +switch or iteration stm +in <0x00071> Microsoft.JScript.Break:Resolve +(Microsoft.JScript.IdentificationTable context) +in <0x001f8> Microsoft.JScript.If:Resolve +(Microsoft.JScript.IdentificationTable context) +in <0x0010a> Microsoft.JScript.For:Resolve +(Microsoft.JScript.IdentificationTable context) +in <0x003ab> Microsoft.JScript.Block:Resolve +(Microsoft.JScript.IdentificationTable context) +in <0x00011> Microsoft.JScript.ScriptBlock:Resolve +(Microsoft.JScript.IdentificationTable context) +in <0x0004d> Microsoft.JScript.SemanticAnalyser:Run +(Microsoft.JScript.ScriptBlock prog) +in <0x00205> Microsoft.Vsa.BaseVsaEngine:Compile () +in <0x00199> Driver:Main (System.String[] args) [EMAIL PROTECTED]:~/mono/mcs/jtests/regexp> + + +Expected Results: +Compilation succeeded. + +How often does this happen? +Always. + +Additional Information: +svn version fromMon Jun 6 18:10:38 CDT 2005 _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
