-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
empty_count: false positive when input argument called count
#2012
Comments
Duplicate of #827. |
@marcelofabri I did search before opening this issue and I did found the one you referenced and that one didn't seem to be the same. That issue is about the fact that |
@yas375, the underlying issue is the same. (Though it is admittedly not obvious until further into the comments, so do not worry about it.) Basically, SwiftLint only has access to the name of the symbol The only thing to do is follow @jpsim’s advice,
Please know that we marked this as a duplicate to help organize the list of issues, not to label you as too lazy to search. ;) We are thankful for your report. |
Thanks Jeremy 👍 |
FYI: I run into the same linter error when checking against |
Bug Report
Environment
.swiftlint.yml
:This code triggers error message:
The text was updated successfully, but these errors were encountered: