147521d6cb
#KT-16118 Fixed #KT-30007 Fixed
15 lines
459 B
Kotlin
Vendored
15 lines
459 B
Kotlin
Vendored
// "Change to val" "false"
|
|
// ACTION: Create extension function 'Delegate.getValue'
|
|
// ACTION: Create member function 'Delegate.getValue'
|
|
// ACTION: Introduce import alias
|
|
// ERROR: Missing 'getValue(Nothing?, KProperty<*>)' method on delegate of type 'Delegate'
|
|
import kotlin.reflect.KProperty
|
|
|
|
fun test() {
|
|
var foo: String by <caret>Delegate()
|
|
}
|
|
|
|
class Delegate {
|
|
operator fun setValue(thisRef: Any?, property: KProperty<*>, value: String) {
|
|
}
|
|
} |