[Mono-bugs] [Bug 26973][Nor] Changed - In try block, 'return' doesn't return

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Jul 2002 11:11:34 -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 lupus@ximian.com.

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

--- shadow/26973	Thu Jul 18 07:06:05 2002
+++ shadow/26973.tmp.27484	Thu Jul 18 07:11:34 2002
@@ -90,6 +90,12 @@
 ILGenerator does not check to see if a lable is not marked (ie.
 MarkLabel() hasn't been called on it) when it emits a jump to that
 label.  It should do so.
 
 I'll try to make time to fix this - especially now I can build corlib
 on linux! :-)
+
+------- Additional Comments From lupus@ximian.com  2002-07-18 07:11 -------
+ILGenerator cannot check when it emits a label, because the label may
+still need to be marked (forward reference). It could do it at the
+end, though, but since the same bug happens also when mcs is run with
+the ms runtime, it's mcs that needs to be fixed.