bugDotGNU Portable.NET - Bugs: bug #9291, Reachability analysis fails for if...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9291: Reachability analysis fails for if (true) stmt

Submitter:  Marcus Urban <mathpup>
Submitted:  Fri 11 Jun 2004 04:13:29 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Fri 11 Jun 2004 11:50:11 AM UTC, comment #1: 

Fixed in CVS - June 11th 2004

Gopal.V <t3rmin4t0r>
Group administrator
Fri 11 Jun 2004 04:13:29 AM UTC, original submission:  

cscc rejects the program below with the error

control_flow.cs:3: control reaches end of non-void method

But csc accepts the program:

public class Testing
{
public static int Main()
{
if (true)
return 0;
}
}

Marcus Urban <mathpup>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-06-11 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code