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


Stewart Gordon <s...@iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |s...@iname.com


--- Comment #1 from Stewart Gordon <s...@iname.com> 2012-03-01 09:10:41 PST ---
It seems to me the compiler generates

void fooS(S t) {}

but once the time's come to semantically analyse the instance, it has forgotten
what created it in the first place.

Perhaps what's needed is: If when semantically analysing a template instance a
deprecated symbol is hit, flag the template instance as deprecated.  Then only
if non-deprecated code references it will an error be generated.

The complication is that the error shown to the user should be about the
original deprecated symbol.  This can be achieved by accommodating in the
propagated deprecation flag a note of the original deprecation.

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

Reply via email to