[Issue 2235] New: false unreachable statement detected, no linenumbers shown (-w only)

Jarrett Billingsley kb3ctd2 at yahoo.com
Sat Jul 19 06:53:37 PDT 2008


<d-bugmail at puremagic.com> wrote in message 
news:bug-2235-3 at http.d.puremagic.com/issues/...
> http://d.puremagic.com/issues/show_bug.cgi?id=2235
>
>           Summary: false unreachable statement detected, no linenumbers
>                    shown (-w only)
>           Product: D
>           Version: 1.033
>          Platform: PC
>        OS/Version: Windows
>            Status: NEW
>          Keywords: rejects-valid
>          Severity: normal
>          Priority: P2
>         Component: DMD
>        AssignedTo: bugzilla at digitalmars.com
>        ReportedBy: 2korden at gmail.com
>
>
> Testcase:
> ~~~~~~~~~
> class Test
> {
>    this()
>    {
>        assert(false, "Not implemented");
>    }
> }
>
> Output:
> warning - Error: statement is not reachable
>
>
> -- 
>

Ha, I just ran into this today and was going to report it. 




More information about the Digitalmars-d-bugs mailing list