[Issue 19325] New: The 'body' keyword is still not deprecated

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 22 00:01:23 UTC 2018


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: nobody at puremagic.com
          Reporter: andrej.mitrovich at gmail.com

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.

--


More information about the Digitalmars-d-bugs mailing list