[Mono-bugs] [Bug 60457][Maj] Changed - Wrong compilation giving Unreachable Code warning...

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 22 Jun 2004 21:14:58 -0400 (EDT)


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@ximian.com.

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

--- shadow/60457	2004-06-21 11:58:56.000000000 -0400
+++ shadow/60457.tmp.2741	2004-06-22 21:14:58.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 60457
 Product: Mono: Compilers
 Version: unspecified
 OS: unknown
 OS Details: RH 9.0
-Status: NEW   
+Status: RESOLVED   
 Resolution: 
 Severity: Unknown
 Priority: Major
 Component: C#
 AssignedTo: martin@ximian.com                            
 ReportedBy: banil@novell.com               
@@ -86,6 +86,9 @@
 
 This is a quick way to test it without relying on a warning (which we
 currently have no way to test automatically). CSC tells us that not
 all paths have a return value. However mcs does not complain because
 it thinks that the loop is basically a while (true) ; loop, and so it
 does not require a return value.
+
+------- Additional Comments From martin@ximian.com  2004-06-22 21:14 -------
+Fixed in CVS, added Ben's testcase as cs0161-2.cs.