-
Notifications
You must be signed in to change notification settings - Fork 186
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
Fix RemoveUnusedPatternVars #1345
Conversation
@vincenzobaz can you check why the tests are failing .. I find that strange the renameSuite is failing. Can you also run bin/scalafmt. Thanks |
I am having troubles understanding the failing tests with this PR. The change should not affect the other tests, but it's the case. |
same code, but the tests are passing #1355 |
So after further debugging: in fact when adding these new case tests, we don't have warnings anymore on some files... |
I have just removed a number of tests that were added by this pull request. |
Could it be a limit in the compiler output? https://docs.scala-lang.org/overviews/compiler-options/index.html
|
I think it should be that! completly forgot about this :s |
It also means that this rule fixes maximum 100 warns by default (in each run)^^ |
We could mention it in the docs at least? |
This PR aims at fixing #1343 by using a more general regexp and adding several tests.
closes #1343