On 7/20/17 3:53 PM, Jack Stouffer wrote:
On Tuesday, 18 July 2017 at 15:46:04 UTC, Seb wrote:
https://is.gd/1TCQOh

Hmmm, that code is printing

0
1
2
3
0
1
2
3

for me. Shouldn't it just be printing once?

I think it's because it's using rdmd, and that runs dmd once to generate dependencies, and one more time to compile.

It's not specific to static foreach or the new compiler:

https://is.gd/g6WPyv

-Steve

Reply via email to