This structure:
Provokes this error when trying to return it from a public function:
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
This structure:
Provokes this error when trying to return it from a public function:
Looks like the plugin is not inferring that this struct is indeed public because declared in a
public extension. Addingpublicto 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