[Issue 16246] New: cannot call iota with 3 [u]bytes or 3 [u]shorts
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Jul 7 01:00:11 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16246
Issue ID: 16246
Summary: cannot call iota with 3 [u]bytes or 3 [u]shorts
Product: D
Version: D2
Hardware: All
URL: http://dlang.org/
OS: All
Status: NEW
Severity: enhancement
Priority: P3
Component: phobos
Assignee: nobody at puremagic.com
Reporter: eyal at weka.io
void main() {
import std.range:iota;
ushort start = 0, end = 10, step = 2;
foreach(i; iota(start, end, step)) {}
}
Fails to build.
--
More information about the Digitalmars-d-bugs
mailing list