Skip to content

It makes protocols methods public #1

Open
@lucasmpaim

Description

@lucasmpaim

When running this module, it gets my protocols and make those methods public, that's wrong, because protocol methods can't be public, the protocol are public.

Example:

protocol Foo {
   func foo()
}

Need to be:

public protocol Foo {
   func foo()
}

Not:

public protocol Foo {
   public func foo() <- this causes a compiler error
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions