Drop resolution of deprecated plus/minus/get/set conventions

Also remove the corresponding quick fix
This commit is contained in:
Alexander Udalov
2016-06-27 17:35:08 +03:00
parent 291f1f6c3a
commit 70a994b135
21 changed files with 20 additions and 244 deletions
-7
View File
@@ -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()
}
-7
View File
@@ -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()
}