[Mono-bugs] [Bug 31470][Nor] Changed - unnecessary leave after throw

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
6 Oct 2002 16:55:43 -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 martin@gnome.org.

http://bugzilla.ximian.com/show_bug.cgi?id=31470

--- shadow/31470	Fri Oct  4 04:58:02 2002
+++ shadow/31470.tmp.26818	Sun Oct  6 12:55:43 2002
@@ -200,6 +200,11 @@
 This is the easiest thing to do since you don't have to deal with
 returning a value if the method doesn't return void.
 Note that this code is never executed anyway, but it needs to be there
 for the code to be valid.
 Also note that mcs produces the invalid code also when running on the
 ms runtime.
+
+------- Additional Comments From martin@gnome.org  2002-10-06 12:55 -------
+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.
+