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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The rule large_tuple indicates the type annotation for a multi-parameter closure is a malformed tuple.
large_tuple
open class NetworkSessionHandler: NSObject, URLSessionDataDelegate { ... var completionHandler: ((_ data: Data?, _ resp: URLResponse?, _ e: NSError?) -> Void)!
The type of the variable completionHandler is not a tuple but instead a function that accepts 3 arguments and returns Void or ().
completionHandler
Void
()
The text was updated successfully, but these errors were encountered:
This shouldn't trigger. I was able to reproduce it with 0.16.1. Thanks for letting us know!
Sorry, something went wrong.
No branches or pull requests
The rule
large_tuple
indicates the type annotation for a multi-parameter closure is a malformed tuple.The type of the variable
completionHandler
is not a tuple but instead a function that accepts 3 arguments and returnsVoid
or()
.The text was updated successfully, but these errors were encountered: