http://d.puremagic.com/issues/show_bug.cgi?id=4693

           Summary: std.range.iota fails with long type
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: necrom...@gmail.com


--- Comment #0 from Max Klyga <necrom...@gmail.com> 2010-08-20 14:34:34 PDT ---
import std.range;

void main() {
    iota(1, 2_147_483_648);
}

outputs:
src/phobos/std/range.d(2154): 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: -------

Reply via email to