Drop resolution of deprecated plus/minus/get/set conventions
Also remove the corresponding quick fix
This commit is contained in:
@@ -38,14 +38,7 @@ annotation class Fancy(val param: Int)
|
||||
|
||||
@Fancy(<caret>i) class D
|
||||
|
||||
class CustomDelegate {
|
||||
operator fun get(thisRef: Any?, prop: KProperty<*>): String = ""
|
||||
operator fun set(thisRef: Any?, prop: KProperty<*>, value: String) {}
|
||||
}
|
||||
|
||||
class B {
|
||||
var a: String by CustomDelegate()
|
||||
|
||||
fun plus(a: A): A = A()
|
||||
}
|
||||
|
||||
|
||||
@@ -37,14 +37,7 @@ annotation class Fancy(val param: Int)
|
||||
|
||||
@Fancy(i) class D
|
||||
|
||||
class CustomDelegate {
|
||||
operator fun getValue(thisRef: Any?, prop: KProperty<*>): String = ""
|
||||
operator fun setValue(thisRef: Any?, prop: KProperty<*>, value: String) {}
|
||||
}
|
||||
|
||||
class B {
|
||||
var a: String by CustomDelegate()
|
||||
|
||||
operator fun plus(a: A): A = A()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user