[Issue 1449] deprecated methods are counted as interface implementation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 16 06:49:55 PDT 2011


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



--- Comment #11 from Stewart Gordon <smjg at iname.com> 2011-06-16 06:45:09 PDT ---
(In reply to comment #9)
> (In reply to comment #8)
>> I agree with Bearophile.  Moreover, as I see it, a hole in the deprecation
>> system constitutes a bug, just as most of us seem to agree that a hole in the
>> const/immutable system (of which there are many) constitutes a bug.
>> 
> 
> To quote the spec:

The spec is in itself a place where bugs may exist.  Indeed, it's where many of
the bugs in const/immutable are or have been.

>> It is often necessary to deprecate a feature in a library, yet 
>> retain it for backwards compatibility. Such declarations can be 
>> marked as deprecated, which > means that the compiler can be set 
>> to produce an error if any code refers to deprecated declarations
> 
> Where is the code referring to a deprecated declaration?

class Foo : Bar {
          ^^^^^
It's an indirect reference, but it's still essentially there.

(In reply to comment #9)
> Walter has clarified that this is intentional, and therefore not a 
> bug.

Where and how?

-- 
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