https://issues.dlang.org/show_bug.cgi?id=19325
Issue ID: 19325
Summary: The 'body' keyword is still not deprecated
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P1
Component: dlang.org
Assignee: [email protected]
Reporter: [email protected]
As per DIP 1003
(https://github.com/dlang/DIPs/blob/master/DIPs/accepted/DIP1003.md), the below
should have emitted a deprecation:
-----
void main ( )
{
}
void test ()
in
{ }
body
{ }
-----
The deprecation is not yet listed on dlang.org as well:
https://dlang.org/deprecate.html
--
Minor issue since we can already use 'body' thank to how the DIP was
implemented.
--