https://issues.dlang.org/show_bug.cgi?id=14832
Issue ID: 14832 Summary: iota(UL) + array doesn't work Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: bearophile_h...@eml.cc void main() { import std.array: array; import std.range: iota; iota(10UL).array; } dmd v2.068.0-b1 gives (32 bit system): ..\src\phobos\std\array.d(518): Error: static assert "Argument types in (ulong) are not all convertible to size_t: (ulong)" ..\src\phobos\std\array.d(111): instantiated from here: uninitializedArray!(ulong[], ulong) test.d(4): instantiated from here: array!(Result) --