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