[Issue 5746] Make std.range.iota strongly pure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 14 05:26:23 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=5746



--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2014-01-14 05:26:19 PST ---
(In reply to comment #1)
> Fixed in recent Phobos updated, now this compiles:
> 
> void main() pure {
>     import std.range: iota;
>     foreach (_; iota(10)) {}
>     foreach (_; iota(1, 10)) {}
>     foreach (_; iota(10, 1, -1)) {}
> }

The situation has been improved by fixing issue 10329.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list