[Mono-bugs] [Bug 31470][Nor] Changed - unnecessary leave after throw
10 Oct 2002 00:37:44 -0000
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@example.com.
--- shadow/31470 Wed Oct 9 20:09:56 2002
+++ shadow/31470.tmp.5988 Wed Oct 9 20:37:44 2002
@@ -1,13 +1,13 @@
@@ -208,7 +208,15 @@
Even if we can't avoid the leave, the endless loop is because the leave was going outside of the method. We need to use this dummy
ret in this case. My latest flow analysis patch will fix this, it's now almost complete.
------- Additional Comments From firstname.lastname@example.org 2002-10-09 20:09 -------
Added your testcase to verify-1.cs
+------- Additional Comments From email@example.com 2002-10-09 20:37 -------
+Ok, fixed in CVS.
+Paolo, to answer your question, I fixed the other bug you mentioned by emitting an explicit `ret' at the end of the method if the
+try/catch could ever return. The problem here was that it didn't realize that the try/catch may return. I'm now using my flow
+analsysis code for this.