Report UNUSED_PARAMETER in setter #KT-21129 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-04-27 16:09:29 +03:00
parent bcc1c02e73
commit e76debb12b
58 changed files with 118 additions and 115 deletions
@@ -25,7 +25,7 @@ class SomeClass {
@set:Ann
var propertyWithCustomSetter: Int
get() = 5
set(v) {}
set(<!UNUSED_PARAMETER!>v<!>) {}
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@set:Ann<!>
fun annotationOnFunction(a: Int) = a + 5