Suppressing unused parameter annotation when function is entry point.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
annotation class MyTestAnnotation
|
||||
|
||||
fun unused(<warning descr="[UNUSED_PARAMETER] Parameter 'p' is never used">p</warning>: Int) {
|
||||
|
||||
}
|
||||
|
||||
[MyTestAnnotation]
|
||||
fun unusedButAnnotated(p: Int) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user