June 22, 2010
$ make unittest
...
Testing generated/posix/debug/unittest/std/concurrency
std/concurrency.d(636): Warning: statement is not reachable
std/concurrency.d(636): Warning: statement is not reachable
make[1]: *** [generated/posix/debug/unittest/std/concurrency] Error 1


The fix is easy, just turn the

        static if ...
        static if ...
        ...

starting at line 617 into

        static if ...
        else static if ...
        else ...

but I'm reluctant to do it myself, seeing how std.concurrency seems to be under heavy development these days.

-Lars

June 22, 2010
Go ahead.  I had the code like that for a bit and eliminated the "else" for reasons I can't recall.  But they should be functionally equivalent.

On Jun 22, 2010, at 2:33 AM, Lars Tandle Kyllingstad wrote:

> $ make unittest
> ...
> Testing generated/posix/debug/unittest/std/concurrency
> std/concurrency.d(636): Warning: statement is not reachable
> std/concurrency.d(636): Warning: statement is not reachable
> make[1]: *** [generated/posix/debug/unittest/std/concurrency] Error 1
> 
> 
> The fix is easy, just turn the
> 
>        static if ...
>        static if ...
>        ...
> 
> starting at line 617 into
> 
>        static if ...
>        else static if ...
>        else ...
> 
> but I'm reluctant to do it myself, seeing how std.concurrency seems to be under heavy development these days.
> 
> -Lars
> 
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos