Thread overview | |||||
---|---|---|---|---|---|
|
April 23, 2011 [Issue 5873] New: Cannot call iota() on long with step | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=5873 Summary: Cannot call iota() on long with step Product: D Version: D2 Platform: All URL: https://github.com/D-Programming-Language/phobos/commi t/3e6679b2#L3L3905 OS/Version: All Status: NEW Keywords: rejects-valid Severity: regression Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: kennytm@gmail.com --- Comment #0 from kennytm@gmail.com 2011-04-23 08:15:22 PDT --- (This is a problem on Phobos git master introduced since commit 3e6679b2. The code works fine on 2.052) Test case: ------------------------ import std.range; void main() { iota(1L, 10L); // OK iota(1L, 10L, 3); // Error } ------------------------ Currently it shows the error /usr/include/phobos/std/range.d(3902): Error: cannot implicitly convert expression (unsigned((this.pastLast - this.current) / cast(long)this.step)) of type ulong to uint x.d(4): Error: template instance std.range.iota!(long,long,int) error instantiating -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 21, 2011 [Issue 5873] Cannot call iota() on long with step | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=5873 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch --- Comment #1 from kennytm@gmail.com 2011-06-21 01:49:32 PDT --- Phobos pull #113. https://github.com/D-Programming-Language/phobos/pull/113 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 22, 2011 [Issue 5873] Cannot call iota() on long with step | ||||
---|---|---|---|---|
| ||||
Posted in reply to kennytm@gmail.com | http://d.puremagic.com/issues/show_bug.cgi?id=5873 kennytm@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from kennytm@gmail.com 2011-06-22 08:43:16 PDT --- https://github.com/D-Programming-Language/phobos/commit/d6c471bcff4eb543b2bf84186bb51dbffd88c0a8 -- 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