[Issue 9876] deprecated is not announced
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 4 08:31:58 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9876
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-04-04 08:31:57 PDT ---
(In reply to comment #0)
> This code should announce deprecation:
> -------
> alias a b;
> deprecated enum a = 0;
> -------
>
> It is hoped that the following message is announced:
> -------
> $ dmd -c main
> main.d(1): Deprecation: variable main.a is deprecated
However I think this should be silent:
-------
deprecated alias a b;
deprecated enum a = 0;
-------
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list