-
Notifications
You must be signed in to change notification settings - Fork 19
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
[SIM909] Avoid reflexive assignment #114
Labels
enhancement
New feature or request
Comments
MartinThoma
changed the title
[New Rule] Avoid reflexive assignment
[SIM909] Avoid reflexive assignment
Mar 28, 2022
Thank you for the idea! This will be called |
Example 1:
|
Example 2:
|
MartinThoma
added a commit
that referenced
this issue
Mar 28, 2022
MartinThoma
added a commit
that referenced
this issue
Mar 28, 2022
MartinThoma
added a commit
that referenced
this issue
Mar 28, 2022
MartinThoma
added a commit
that referenced
this issue
Mar 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explanation
Assigning a name to itself is a no-op and should be eliminated.
Example
The text was updated successfully, but these errors were encountered: