Report UNUSED_PARAMETER in setter #KT-21129 Fixed
This commit is contained in:
+2
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user