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
+2 -2
View File
@@ -10,9 +10,9 @@ class B : A() {
var b : Int
<!REDUNDANT_MODIFIER_IN_GETTER!>public<!> get() = 23
set(i: Int) {}
set(<!UNUSED_PARAMETER!>i<!>: Int) {}
protected var c : Int
get() = 23
private set(i: Int) {}
private set(<!UNUSED_PARAMETER!>i<!>: Int) {}
}