Thread overview
/usr/src/d/phobos/std/range.d(4590): Error: variable upper used before set
Oct 10, 2012
H. S. Teoh
Oct 10, 2012
Mehrdad
Oct 10, 2012
Jonathan M Davis
October 10, 2012
Just wanted to bring to attention a compiler regression related to dmd -O:

http://d.puremagic.com/issues/show_bug.cgi?id=8790

I think this warrants a fix ASAP. :)


T

-- 
Verbing weirds language. -- Calvin (& Hobbes)
October 10, 2012
On Wednesday, 10 October 2012 at 01:07:37 UTC, H. S. Teoh wrote:
> Just wanted to bring to attention a compiler regression related to dmd -O:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=8790
>
> I think this warrants a fix ASAP. :)
>
>
> T

Omg that bug looks... scary
October 10, 2012
On Wednesday, October 10, 2012 04:12:10 Mehrdad wrote:
> On Wednesday, 10 October 2012 at 01:07:37 UTC, H. S. Teoh wrote:
> > Just wanted to bring to attention a compiler regression related to dmd -O:
> > 
> > http://d.puremagic.com/issues/show_bug.cgi?id=8790
> > 
> > I think this warrants a fix ASAP. :)
> > 
> > 
> > T
> 
> Omg that bug looks... scary

Yeah. I'm pretty sure that it's caused by a circular dependency among templates (in this case, takeExactly and hasSlicing). I should have pull request which fixes Phobos to resolve the circular dependency relatively soon, but that won't fix the compiler bug.

- Jonathan M Davis