http://d.puremagic.com/issues/show_bug.cgi?id=7482


Walter Bright <bugzi...@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@digitalmars.com


--- Comment #2 from Walter Bright <bugzi...@digitalmars.com> 2012-02-12 
11:25:33 PST ---
Deprecation is most definitely not about declarations not existing. It is about
being an error to reference them.

For example,

   deprecated void foo(int);
   void foo(long);

   ...
   foo(0);   // error, foo(int) is deprecated

rather than selecting foo(long), which it would if foo(int) "disappeared".

IOW, deprecation checking is done *after* symbol resolution, not before.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to