On Friday, 27 May 2016 at 23:31:24 UTC, Stefan Koch wrote:
On Monday, 9 May 2016 at 16:57:39 UTC, Stefan Koch wrote:
Hi Guys,
I have been looking into the DMD now to see what I can do
about CTFE.
I will post more details as soon as I dive deeper into the
code.
Update :
int bug6498(int x)
{
int n = 0;
while (n < x)
++n;
return n;
}
static assert(bug6498(10_000_000)==10_000_000);
This compiles now for me. Although it still takes 10 seconds ;)
Big Whoop!
Just make the number slightly lager and it fails again.