Skip to content
Commit 807060c2 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Let private members hide public members of parent class.

For example:

    /** @class Parent */
      /** @method foo */

    /** @class Child @extends Parent */
      /** @method foo @private */

Previously this resulted in Child class docs having method foo from
Parent, as if the private foo in Child didn't exist at all.  This
behavior was quite far from obvious.

Now the Child class docs will have no foo method at all - the parent
class method gets shadowed with @private foo in subclass.  This should
be more like what the documentation author intended.

As a bonus we now have better error messages for cases where {@link}
refers to a private member, and @inheritdoc can be used to inherit
docs from private members.
parent 80ac93b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment