Skip to content

[analyzer] confusing text for implements_non_class #61882

@incendial

Description

@incendial

Hi,

enum Base { first; }

enum Another implements Base { second; }

here implements Base is highlighted with the following message:

Image

And Another is not a class or mixin.

Dart SDK version: 3.9.2 (stable) (Wed Aug 27 03:49:40 2025 -0700) on "macos_arm64"

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.improve-diagnosticsRelated to the quality of diagnostic messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions