Skip to content
New issue

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

Valid docs rule not covering all closure parameter cases. #375

Closed
diogoguimaraes opened this issue Jan 15, 2016 · 1 comment
Closed

Valid docs rule not covering all closure parameter cases. #375

diogoguimaraes opened this issue Jan 15, 2016 · 1 comment
Labels
bug Unexpected and reproducible misbehavior.

Comments

@diogoguimaraes
Copy link
Contributor

I've noticed that some cases are not being covered by the validDocsRule and SwiftLint generates wrong warnings, for instance:

  • func foobar (closure1: () -> Foo, closure2: (foobar: Bar) -> Foo, closure3: (foobar: Bar) -> Foo) {
  • func footer (closure1: (Foo) -> Void, onError closure2: ((NSError) -> Void)? = nil) {

I'll add a pull request with a fix for this ASAP.

@jpsim
Copy link
Collaborator

jpsim commented Jan 15, 2016

I'll add a pull request with a fix for this ASAP.

Thanks!

@jpsim jpsim added the bug Unexpected and reproducible misbehavior. label Jan 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected and reproducible misbehavior.
Projects
None yet
Development

No branches or pull requests

2 participants