Skip to content

Warn about functions that are @disable but have an function body #897

@Mai-Lapyst

Description

@Mai-Lapyst

D-Scanner should warn about functions that have the @disable annotation but also have an body, like this:

class C1
{
    @disable this() {}

    @disable doSome() {}
}

References:

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