[Issue 4603] New: array(iota(1, 0)) error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Aug 9 07:49:57 PDT 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4603
Summary: array(iota(1, 0)) error
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 2010-08-09 07:49:55 PDT ---
This generates an 'Access Violation' with dmd 2.048beta:
import std.range;
void main() {
array(iota(1, 0));
}
The expected result of this array() is an empty dynamic array of signed
integers.
--
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