[Issue 13188] New: @safe std.array.array of an array of Typedef
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jul 22 10:22:24 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=13188
Issue ID: 13188
Summary: @safe std.array.array of an array of Typedef
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: Phobos
Assignee: nobody at puremagic.com
Reporter: bearophile_hugs at eml.cc
void main() @safe {
import std.typecons: Typedef;
import std.array: array;
[Typedef!int(1)].array;
}
DMD 2.066beta4 gives:
test.d(4,21): Error: safe function 'D main' cannot call system function
'std.array.array!(Typedef!(int, 0, null)[]).array'
--
More information about the Digitalmars-d-bugs
mailing list