We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If all declarations in an extension have the same ACL, the ACL should be in the extension itself.
extension Int { fileprivate func someFunc1(){} fileprivate func someFunc2(){} fileprivate func someFunc3(){} } //suggest private extension Int { func someFunc1(){} func someFunc2(){} func someFunc3(){} }
Do not suggest when:
private
internal
[1] A private modifier on the extension effectively turns all members into fileprivate access.
reference: #1543
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Do not suggest when:
private
[1]internal
[1] A private modifier on the extension effectively turns all members into fileprivate access.
reference:
#1543
The text was updated successfully, but these errors were encountered: