Solution to "statement is not reachable" depending on template variables?

Johan Engelen via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jun 18 04:11:59 PDT 2017


On Sunday, 18 June 2017 at 09:56:50 UTC, Steven Schveighoffer 
wrote:
> On Sunday, 18 June 2017 at 09:28:57 UTC, Johan Engelen wrote:
>> Reviving this thread to see whether anything has changed on 
>> the topic.
>>
>
> If Timon gets static for each into the language, it can look a 
> little better.

Can you help me understand what you mean? How will it improve 
things? (static foreach would disable the "statement not 
reachable" analysis?)

-Johan



More information about the Digitalmars-d-learn mailing list