Minor: Use kotlin.lazy instead of kotlin.Delegates.lazy in KtPsiFactory.CallableBuilder
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
// WITH_RUNTIME
|
||||
// EXTRACTION_TARGET: lazy property
|
||||
|
||||
class A(val n: Int = 1) {
|
||||
val m: Int = 2
|
||||
|
||||
private val i: Int by Delegates.lazy {
|
||||
private val i: Int by lazy {
|
||||
m + n + 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user