← Back to index
|
Original Bugzilla link
Bug 11167 – Slicing a pointer can't be @safe.
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-10-03T20:11:00Z
Last change time
2016-06-22T22:25:44Z
Keywords
accepts-invalid, safe
Assigned to
nobody
Creator
code
Comments
Comment #0
by code — 2013-10-03T20:11:36Z
void oops() @safe { (new int)[0 .. 4][3] = 3; }
Comment #1
by k.hara.pg — 2013-10-03T20:58:40Z
The bug is already fixed in git-head. *** This issue has been marked as a duplicate of issue 10359 ***