Drop 'propertyDelegated' convention (without additional deprecation ceremony).
This commit is contained in:
committed by
Stanislav Erokhin
parent
5ddf8e60e6
commit
e2b6d2d849
@@ -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
@@ -1 +0,0 @@
|
||||
Property delegation 16 var p: String by Delegate()
|
||||
Reference in New Issue
Block a user