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
@@ -1,14 +1,14 @@
public interface Base {
var test: String
get() = "OK"
set(s: String) {
set(<!UNUSED_PARAMETER!>s<!>: String) {
}
}
public interface Base2 : Base {
override var test: String
get() = "OK2"
set(value) {}
set(<!UNUSED_PARAMETER!>value<!>) {}
}
class Delegate : Base2 {