Thread overview | |||||
---|---|---|---|---|---|
|
February 21, 2010 [Issue 3839] New: std.range.iota cannot take 'long' arguments. | ||||
---|---|---|---|---|
| ||||
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 --- Comment #0 from kennytm@gmail.com 2010-02-21 03:06:41 PST --- 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: ------- |
June 23, 2010 [Issue 3839] std.range.iota cannot take 'long' arguments. | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | 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 --- Comment #1 from kennytm@gmail.com 2010-06-22 23:31:59 PDT --- 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: ------- |
June 23, 2010 [Issue 3839] std.range.iota cannot take 'long' arguments. | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | 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 --- Comment #2 from Andrei Alexandrescu <andrei@metalanguage.com> 2010-06-23 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: ------- |
Copyright © 1999-2021 by the D Language Foundation