digitalmars.D.bugs - [Issue 13506] New: safe cartesianProduct.array
- via Digitalmars-d-bugs (22/22) Sep 20 2014 https://issues.dlang.org/show_bug.cgi?id=13506
https://issues.dlang.org/show_bug.cgi?id=13506 Issue ID: 13506 Summary: safe cartesianProduct.array Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: Phobos Assignee: nobody puremagic.com Reporter: bearophile_hugs eml.cc void main() safe { import std.algorithm: cartesianProduct; import std.array: array; const r = cartesianProduct([1], [1]).array; } dmd 2.067alpha gives: test.d(4,41): Error: safe function 'D main' cannot call system function 'std.array.array!(Result).array' --
Sep 20 2014