You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suggestions made in #6039 lead to the suspicious_operation_groupings lint which was initially added in #6086, a PR I wrote.
As part of those suggestions, the idea of making the lint trigger on buggy groups of if statements came up. The PR #6086 took a long time, so I figured it would be a good idea to postpone adding the if statement portion, as well as a particular kind of buggy expression. Below are some tests that I wrote to test those features, that would hopefully be useful if/when someone picks this up again.
The suggestions made in #6039 lead to the
suspicious_operation_groupings
lint which was initially added in #6086, a PR I wrote.As part of those suggestions, the idea of making the lint trigger on buggy groups of if statements came up. The PR #6086 took a long time, so I figured it would be a good idea to postpone adding the if statement portion, as well as a particular kind of buggy expression. Below are some tests that I wrote to test those features, that would hopefully be useful if/when someone picks this up again.
The text was updated successfully, but these errors were encountered: