Fix Delegates.lazy usages in testData
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// IS_APPLICABLE: false
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
class A(val n: Int) {
|
||||
val <caret>foo: Boolean by Delegates.lazy { n > 1 }
|
||||
val <caret>foo: Boolean by lazy { n > 1 }
|
||||
}
|
||||
|
||||
fun test() {
|
||||
|
||||
+2
-4
@@ -1,5 +1,3 @@
|
||||
import kotlin.properties.Delegates
|
||||
val x: Int <caret>by lazy {1}
|
||||
|
||||
val x: Int <caret>by Delegates.lazy {1}
|
||||
|
||||
// REF: (in kotlin.properties.ReadOnlyProperty).getValue(R,kotlin.reflect.KProperty<*>)
|
||||
// REF: (for kotlin.Lazy<T> in kotlin).getValue(kotlin.Any?,kotlin.reflect.KProperty<*>)
|
||||
|
||||
Reference in New Issue
Block a user