Author: martin
Date: 2007-03-07 15:10:34 -0500 (Wed, 07 Mar 2007)
New Revision: 73906
Modified:
trunk/mcs/mcs/ChangeLog
trunk/mcs/mcs/statement.cs
Log:
2007-03-07 Martin Baulig <[EMAIL PROTECTED]>
* statement.cs (Block.Resolve): Don't crash on error; bug #80715.
Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog 2007-03-07 20:04:35 UTC (rev 73905)
+++ trunk/mcs/mcs/ChangeLog 2007-03-07 20:10:34 UTC (rev 73906)
@@ -1,3 +1,7 @@
+2007-03-07 Martin Baulig <[EMAIL PROTECTED]>
+
+ * statement.cs (Block.Resolve): Don't crash on error; bug #80715.
+
2007-03-06 Miguel de Icaza <[EMAIL PROTECTED]>
* convert.cs (ExplicitReferenceConversionExists): Sync this method
Modified: trunk/mcs/mcs/statement.cs
===================================================================
--- trunk/mcs/mcs/statement.cs 2007-03-07 20:04:35 UTC (rev 73905)
+++ trunk/mcs/mcs/statement.cs 2007-03-07 20:10:34 UTC (rev 73906)
@@ -2305,6 +2305,9 @@
Report.Debug (4, "RESOLVE BLOCK DONE", StartLocation,
ec.CurrentBranching, statement_count,
num_statements);
+ if (!ok)
+ return false;
+
while (ec.CurrentBranching is FlowBranchingLabeled)
ec.EndFlowBranching ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches