digitalmars.D.bugs - [Issue 12700] New: object.di still defined alias destroy clear
- via Digitalmars-d-bugs (19/19) May 04 2014 https://issues.dlang.org/show_bug.cgi?id=12700
https://issues.dlang.org/show_bug.cgi?id=12700 Issue ID: 12700 Summary: object.di still defined alias destroy clear Product: D Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: destructionator gmail.com // Scheduled for deprecation in December 2012. // Please use destroy instead of clear. alias destroy clear; This means foo.clear() still calls destroy, something very easy to accidentally do. --
May 04 2014