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
Hi,
A warning is shown by the valid_docs rule when a function returns a tuple. For example:
valid_docs
/** Awesome test function - returns: super tuple */ func tupleAsReturnValue() -> (r: CGFloat, g: CGFloat, b: CGFloat) { return (r: 1, g: 2, b: 3) }
There is no warning when the tuple is a parameter.
Thanks a lot for your work ! Regards
The text was updated successfully, but these errors were encountered:
Thanks for reporting! We should certainly fix this. Help appreciated! 😄
Sorry, something went wrong.
Fix regex for ignoring closure parameter on detecting return value
8edc234
fix #324
64c6545
Successfully merging a pull request may close this issue.
Hi,
A warning is shown by the
valid_docs
rule when a function returns a tuple.For example:
There is no warning when the tuple is a parameter.
Thanks a lot for your work !
Regards
The text was updated successfully, but these errors were encountered: