Skip to content

Warning if not deriving from base #9

@skogsbaer

Description

@skogsbaer

I just wrote

@DataClass()
mixin NetworkError on _NetworkErrorBase {
}

and then I got a cryptic error from the dart compiler because of cyclic inheritance. The DataClass and SumType annotation should output a warning in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions