[Issue 7232] Warning: statement is not reachable has no line number
    via Digitalmars-d-bugs 
    digitalmars-d-bugs at puremagic.com
       
    Fri Nov  7 10:45:14 PST 2014
    
    
  
https://issues.dlang.org/show_bug.cgi?id=7232
Nick Treleaven <ntrel-pub at mybtinternet.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ntrel-pub at mybtinternet.com
--- Comment #5 from Nick Treleaven <ntrel-pub at mybtinternet.com> ---
There's a missing line number with -w here also (recent dmd):
import std.stdio;
void f()
{
    throw new Exception("msg");
    scope(exit) write("5");
    scope(success) write("6");
}
--
    
    
More information about the Digitalmars-d-bugs
mailing list