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: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 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: -------

Reply via email to