digitalmars.D.bugs - [Issue 9876] New: deprecated is not announced
- d-bugmail puremagic.com (25/25) Apr 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9876
- d-bugmail puremagic.com (15/25) Apr 04 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9876
- d-bugmail puremagic.com (7/8) Apr 05 2013 http://d.puremagic.com/issues/show_bug.cgi?id=9876
http://d.puremagic.com/issues/show_bug.cgi?id=9876
Summary: deprecated is not announced
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: zan77137 nifty.com
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
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9876
Andrej Mitrovic <andrej.mitrovich gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich gmail.com
08:31:57 PDT ---
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: -------
Apr 04 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9876 12:43:46 PDT ---However I think this should be silent:Ah nevermind, the OP sample is a forward reference issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Apr 05 2013









d-bugmail puremagic.com 