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

Mathias Lang <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |m

--- Comment #1 from Mathias Lang <[email protected]> ---
Yeah, put simply, the following code:
```
deprecated void main ()
{
    Object o = new Object;
    delete o;
}
```

should compile with `dmd -de test.d` (DMD v2.079)

Currently this is done for other deprecated symbols: deprecated functions can
call other deprecated functions, use deprecated types, and a deprecated
aggregate can have fields of deprecated types... So it should be done for
language deprecations as well.

--

Reply via email to