[Mono-bugs] [Bug 30715][Min] Changed - Should use flow analysis code rather than ec.Breaks

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Sep 2002 22:38:16 -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=30715

--- shadow/30715	Thu Sep 19 18:29:50 2002
+++ shadow/30715.tmp.27433	Thu Sep 19 18:38:16 2002
@@ -17,6 +17,12 @@
 Summary: Should use flow analysis code rather than ec.Breaks
 
 Unfortunately, this is a huge task and we're creating EmitContext's for sub-blocks with ReturnType being set ....
 
 ------- Additional Comments From miguel@ximian.com  2002-09-19 18:29 -------
 Do you have a sample program that exhibits the bug?
+
+------- Additional Comments From martin@gnome.org  2002-09-19 18:38 -------
+I debugged this the whole afternoon and didn't get it working so I finally gave up.
+When compiling mcs, it creates an EmitContext for the block at cs-parser.jay:808 which has a ReturnType, but does not return 
+(because it's not a toplevel block).
+