Hi there,
We introduced scapegoat recent, and we are trying to resolve warnings and errors on scapegoat results.
By the way, we found the case that we marked @unused annotation but it still marked warning with UnusedMethodParameter
class Foo(@annotation.unused x: Int)
/path/to/file/Foo.scala:21:30: [scapegoat] [UnusedMethodParameter] Unused parameter
Unused constructor or method parameters should be removed.
Unused constructor parameter (x).
class Foo(@annotation.unused x: Int)
^
I believe that the annotation @unused should surpress UnusedMethodParameter warning.
Hi there,
We introduced scapegoat recent, and we are trying to resolve warnings and errors on scapegoat results.
By the way, we found the case that we marked
@unusedannotation but it still marked warning withUnusedMethodParameterI believe that the annotation
@unusedshould surpress UnusedMethodParameter warning.