Skip to content
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

UnusedMethodParameter does not respect scala.annotation.unused from 2.13+ standard library #340

Closed
neko-kai opened this issue Apr 10, 2020 · 0 comments · Fixed by #440
Closed

Comments

@neko-kai
Copy link

Given

class X(@unused i: Int)

Scapegoat will complain about unused parameter i, however Scalac's -Xwarn-unused will not.

mccartney added a commit to mccartney/scapegoat that referenced this issue Oct 14, 2020
mccartney added a commit that referenced this issue Oct 14, 2020
* Scala 2.13-only for @unused

* Fixes #340. Excusing arguments annotated with @unused
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant