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: [email protected]
          Reporter: [email protected]

// 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.

--

Reply via email to