https://issues.dlang.org/show_bug.cgi?id=1878
Lionello Lunesu changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://d.puremagic.com/issues/show_bug.cgi?id=1878
--- Comment #6 from bearophile_h...@eml.cc 2014-04-02 04:16:33 PDT ---
Currently this works:
ubyte whatever() { return 10; }
void main() {
ubyte limit = whatever();
ubyte x;
foreach (ubyte e; 0 .. limit)
x = e;
}
--
Config
http://d.puremagic.com/issues/show_bug.cgi?id=1878
--- Comment #5 from github-bugzi...@puremagic.com 2013-09-12 22:03:13 PDT ---
Commit pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/565caec167fa303cb2320a2c6d8f957f06d07008
http://d.puremagic.com/issues/show_bug.cgi?id=1878
--- Comment #4 from Lionello Lunesu 2013-09-08
02:14:15 PDT ---
I checked the difference between CondExp (?:) and ForeachRangeStatement. The
former only has a special case when the types of the two expressions are equal.
It would fix foreach(i
http://d.puremagic.com/issues/show_bug.cgi?id=1878
Lionello Lunesu changed:
What|Removed |Added
CC||lio+bugzi...@lunesu.com
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=1878
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
--- Com
http://d.puremagic.com/issues/show_bug.cgi?id=1878
Andrej Mitrovic changed:
What|Removed |Added
CC||andrej.mitrov...@gmail.com
--- Comme