digitalmars.D.bugs - [Issue 16195] New: delete should be system
- via Digitalmars-d-bugs (21/21) Jun 23 2016 https://issues.dlang.org/show_bug.cgi?id=16195
https://issues.dlang.org/show_bug.cgi?id=16195 Issue ID: 16195 Summary: delete should be system Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ntrel-pub mybtinternet.com Tested with dmd v2.071.0, this compiles: safe unittest { auto p = new int; delete p; // line 3 } delete is not safe, line 3 should issue an error. --
Jun 23 2016