Skip to content

"no_empty_block" causes default functions in protocols to be detected  #5749

@inotetw

Description

@inotetw

New Issue Checklist

The rule "no_empty_block" causes default functions in protocols to be detected. It should specifically exclude functions in protocols from this detection.

for example

protocol Animal {
    func run()
}
extension Animal {
    func run() {}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionTopics that cannot be categorized as bugs or enhancements yet. They require further discussions.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions