static foreach

Joakim dlang at joakim.fea.st
Sat Sep 30 05:07:52 UTC 2017


On Saturday, 30 September 2017 at 02:18:34 UTC, Joseph wrote:
> When will ldc get static foreach?

Static foreach was added to D with dmd frontend 2.076, but ldc is 
at dmd frontend 2.074.  2.075 is being worked on for the next ldc 
right now:

https://github.com/ldc-developers/ldc/pull/2252

Whenever 2.076 is worked into ldc, likely in a month or two, it 
will have static foreach too.  Otherwise, someone could extract 
all the static foreach pulls and try to submit them as a single 
pull to ldc now, though I don't know if the ldc devs would go for 
that:

https://github.com/dlang/dmd/pulls?utf8=✓&q=is%3Apr%20author%3Atgehr%20


More information about the digitalmars-d-ldc mailing list