Skip to content

Base element's static method with nocollapse shouldn't be collapsed in subclasses. #3771

@dvoytenko

Description

@dvoytenko

In this scenario:

class BaseClass {
  /** @nocollapse */
  static getSomething() {}
}

class SubClass {
  /** @override */
  static getSomething() {}
}

The SubClass's getSomething static method gets collapsed and removed. However, an overriden static method like this should stay since it's kept in the superclass.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions