D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 18647 - Use of delete should be allowed without a deprecation in a deprecated scope
Summary: Use of delete should be allowed without a deprecation in a deprecated scope
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks: 17906
  Show dependency treegraph
 
Reported: 2018-03-22 16:08 UTC by Seb
Modified: 2018-04-06 21:05 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Seb 2018-03-22 16:08:47 UTC
deprecated void main ()
{
    Object o = new Object;
    delete o;
}
Comment 1 Walter Bright 2018-03-25 02:27:59 UTC
https://github.com/dlang/dmd/pull/8066
Comment 2 github-bugzilla 2018-04-06 21:05:10 UTC
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/a03f88a5371bbb171be93a15c6ffc23f08ad136f
Fix Issue 18647 - Use of delete should be allowed without a deprecation in a deprecated scope

https://github.com/dlang/dmd/commit/b9a190bf1d37aae71558870873be4ee881d26de3
Merge pull request #8066 from wilzbach/fix-17906

Fix Issue 18647 - Use of delete should be allowed without a deprecation in a deprecated scope