mail-archives/mono-bugs/2005-June/030083.html

127 строки
4.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 75166][Wis] New - break statement not getting
proper parent.
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075166%5D%5BWis%5D%20New%20-%20break%20statement%20not%20getting%0A%09proper%20parent.&In-Reply-To=bug-75166%40chernobyl.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="030082.html">
<LINK REL="Next" HREF="030084.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 75166][Wis] New - break statement not getting
proper parent.</H1>
<B>bugzilla-daemon at bugzilla.ximian.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%2075166%5D%5BWis%5D%20New%20-%20break%20statement%20not%20getting%0A%09proper%20parent.&In-Reply-To=bug-75166%40chernobyl.ximian.com"
TITLE="[Mono-bugs] [Bug 75166][Wis] New - break statement not getting
proper parent.">bugzilla-daemon at bugzilla.ximian.com
</A><BR>
<I>Mon Jun 6 19:17:47 EDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="030082.html">[Mono-bugs] [Bug 43567][Nor] Changed - unable to load resources in
VS generated application
</A></li>
<LI>Next message: <A HREF="030084.html">[Mono-bugs] [Bug 75166][Wis] Changed - break statement not getting
proper parent.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30083">[ date ]</a>
<a href="thread.html#30083">[ thread ]</a>
<a href="subject.html#30083">[ subject ]</a>
<a href="author.html#30083">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">cesar at ciencias.unam.mx.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=75166">http://bugzilla.ximian.com/show_bug.cgi?id=75166</A>
--- 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: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">cesar at ciencias.unam.mx</A>
+QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at ximian.com</A>
+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 &lt;0x00071&gt; Microsoft.JScript.Break:Resolve
+(Microsoft.JScript.IdentificationTable context)
+in &lt;0x001f8&gt; Microsoft.JScript.If:Resolve
+(Microsoft.JScript.IdentificationTable context)
+in &lt;0x0010a&gt; Microsoft.JScript.For:Resolve
+(Microsoft.JScript.IdentificationTable context)
+in &lt;0x003ab&gt; Microsoft.JScript.Block:Resolve
+(Microsoft.JScript.IdentificationTable context)
+in &lt;0x00011&gt; Microsoft.JScript.ScriptBlock:Resolve
+(Microsoft.JScript.IdentificationTable context)
+in &lt;0x0004d&gt; Microsoft.JScript.SemanticAnalyser:Run
+(Microsoft.JScript.ScriptBlock prog)
+in &lt;0x00205&gt; Microsoft.Vsa.BaseVsaEngine:Compile ()
+in &lt;0x00199&gt; Driver:Main (System.String[] args)
<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">+cesar at itaca</A>:~/mono/mcs/jtests/regexp&gt;
+
+
+Expected Results:
+Compilation succeeded.
+
+How often does this happen?
+Always.
+
+Additional Information:
+svn version fromMon Jun 6 18:10:38 CDT 2005
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="030082.html">[Mono-bugs] [Bug 43567][Nor] Changed - unable to load resources in
VS generated application
</A></li>
<LI>Next message: <A HREF="030084.html">[Mono-bugs] [Bug 75166][Wis] Changed - break statement not getting
proper parent.
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#30083">[ date ]</a>
<a href="thread.html#30083">[ thread ]</a>
<a href="subject.html#30083">[ subject ]</a>
<a href="author.html#30083">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>