Skip to content

Mixin on implementation doesn't show docs on hoverΒ #57097

@FMorschel

Description

@FMorschel

If you have the following:

abstract class Base {
  /// Documentation for foo.
  void foo();
}

// --------------------------

abstract class Base1 implements Base {
  @override
  void foo();
}

mixin MyMixin1 on Base1 {
  @override
  void foo() {}
}

// --------------------------

abstract class Base2 extends Base {
  @override
  void foo();
}

mixin MyMixin2 on Base2 {
  @override
  void foo() {}
}

On MyMixin1.foo the hover doesn't show the docs. But on MyMixin2.foo it does. The problem is that Base1 actually implements Base and Base2 extends it. That seems to be the problem. I'll see if I can fix it and open a CL when I have some time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestdevexp-serverIssues related to some aspect of the analysis serverlegacy-area-analyzerUse area-devexp instead.type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions