[Issue 3839] New: std.range.iota cannot take 'long' arguments.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 21 03:06:43 PST 2010


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 at puremagic.com
        ReportedBy: kennytm at gmail.com


--- Comment #0 from kennytm at 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: -------


More information about the Digitalmars-d-bugs mailing list