www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18647] New: Use of delete should be allowed without a

https://issues.dlang.org/show_bug.cgi?id=18647

          Issue ID: 18647
           Summary: Use of delete should be allowed without a deprecation
                    in a deprecated scope
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: greensunny12 gmail.com
            Blocks: 17906

deprecated void main ()
{
    Object o = new Object;
    delete o;
}


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=17906
[Issue 17906] Deprecated Language features should be allowed without a
deprecation in a deprecated scope
--
Mar 22 2018