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: [email protected]
          Reporter: [email protected]

void main() {
    import std.range:iota;
    ushort start = 0, end = 10, step = 2;
    foreach(i; iota(start, end, step)) {}
}

Fails to build.

--

Reply via email to