Skip to content

[analyzer_plugin] FooMixin classes are not mixins #61768

@FMorschel

Description

@FMorschel

I was looking at the analyzer_plugin API, and I see that AssistContributorMixin and DartAssistsMixin, for example, are not mixins but the docs say we should only use them as mixins and not extend or implement them.

But we can't mixin them because we get the class_used_as_mixin diagnostic. Since they don't have the mixin modifier. I'm not sure what we should do here, @srawlins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions