http://d.puremagic.com/issues/show_bug.cgi?id=11167
Summary: Slicing a pointer can't be @safe.
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: accepts-invalid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from David Nadlinger <[email protected]> 2013-10-03 20:11:36
PDT ---
void oops() @safe {
(new int)[0 .. 4][3] = 3;
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------