[Issue 11826] New: An Access Violation in Phobos with cartesianProduct at compile-time
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 26 09:52:09 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11826
Summary: An Access Violation in Phobos with cartesianProduct at
compile-time
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
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 2013-12-26 09:52:08 PST ---
Compiled with DMD 2.065alpha:
import std.stdio: writeln;
import std.algorithm: cartesianProduct;
auto r = cartesianProduct([1, 2, 3], [10, 20, 30]); // object.Error: Access
Violation
void main() {
//auto r = cartesianProduct([1, 2, 3], [10, 20, 30]); // OK
r.writeln;
}
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list