-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Unused instance and local variable accesses #15455
Comments
Happy to accept a patch. I'm not sure it makes much sense to track such individual linter issues in a ticket. |
I agree, I'll start working on an initial PR to start fixing these and other issues. The |
Related: |
Of course, if there's a problematic detail to discuss on a specific linter issue, such a discussion is much appreciated. It wasn't clear to me that the |
I've been developing new rules for ameba, and as part of that have been testing them on this repository to verify their functionality. I've found a few issues that could be fixed.
src/compiler/crystal/tools/formatter.cr
:src/compiler/crystal/syntax/parser.cr
:src/compiler/crystal/semantic/filters.cr
:There are several others, but they're mostly having the var on the last line of a method that has a
Nil
return.The text was updated successfully, but these errors were encountered: