digitalmars.D.bugs - [Issue 3839] New: std.range.iota cannot take 'long' arguments.
- d-bugmail puremagic.com (26/26) Feb 21 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3839
- d-bugmail puremagic.com (14/14) Jun 22 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3839
- d-bugmail puremagic.com (12/12) Jun 23 2010 http://d.puremagic.com/issues/show_bug.cgi?id=3839
http://d.puremagic.com/issues/show_bug.cgi?id=3839 Summary: std.range.iota cannot take 'long' arguments. Product: D Version: 2.041 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody puremagic.com ReportedBy: kennytm gmail.com import std.range; void main() { iota(1L, 10L); } Expected: Compile successfully. Actually happening: Compile error with /usr/include/phobos/std/range.d(2158): Error: cannot implicitly convert expression (aBitAboveCount) of type long to uint -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 21 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3839 kennytm gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.041 |D2 OS/Version|Mac OS X |All As of Phobos r1686 the code still cannot compile correctly. The new error is /usr/include/phobos/std/range.d(2161): Error: cannot implicitly convert expression ((this.pastLast - this.current) / cast(long)this.step) of type long to uint -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 22 2010
http://d.puremagic.com/issues/show_bug.cgi?id=3839 Andrei Alexandrescu <andrei metalanguage.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |andrei metalanguage.com Resolution| |FIXED 08:51:51 PDT --- Fixed in r1690: http://www.dsource.org/projects/phobos/changeset/1690 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jun 23 2010