Drop 'propertyDelegated' convention (without additional deprecation ceremony).

This commit is contained in:
Dmitry Petrov
2016-12-06 15:35:23 +03:00
committed by Stanislav Erokhin
parent 5ddf8e60e6
commit e2b6d2d849
25 changed files with 8 additions and 300 deletions
@@ -1,16 +0,0 @@
// PSI_ELEMENT: org.jetbrains.kotlin.psi.KtNamedFunction
// OPTIONS: usages
import kotlin.reflect.KProperty
class Delegate() {
operator fun getValue(thisRef: Any?, property: KProperty<*>): String = ":)"
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {
}
operator fun <caret>propertyDelegated(property: KProperty<*>) {
}
}
var p: String by Delegate()
@@ -1,4 +0,0 @@
Resolved by Delegate()
Searched references to Delegate
Used plain search of Delegate.propertyDelegated(property: KProperty<*>) in LocalSearchScope:
CLASS:Delegate
@@ -1 +0,0 @@
Property delegation 16 var p: String by Delegate()