Skip to content

Access Control not correctly inferred #54

@piercifani

Description

@piercifani

This structure:

Image

Provokes this error when trying to return it from a public function:

Image

Looks like the plugin is not inferring that this struct is indeed public because declared in a public extension. Adding public to it's declaration makes the error go away, but now Swift throws a warning 'public' modifier is redundant for struct declared in a public extension

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