Thread overview | |||||
---|---|---|---|---|---|
|
October 10, 2012 /usr/src/d/phobos/std/range.d(4590): Error: variable upper used before set | ||||
---|---|---|---|---|
| ||||
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 Re: /usr/src/d/phobos/std/range.d(4590): Error: variable upper used before set | ||||
---|---|---|---|---|
| ||||
Posted in reply to H. S. Teoh | 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 Re: /usr/src/d/phobos/std/range.d(4590): Error: variable upper used before set | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mehrdad | 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
|
Copyright © 1999-2021 by the D Language Foundation