Suppressing unused parameter annotation when function is entry point.

This commit is contained in:
Evgeny Gerashchenko
2015-02-17 21:23:01 +03:00
parent 943131b7b0
commit b1840ebd99
7 changed files with 91 additions and 27 deletions
@@ -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) {
}