Minor: Use kotlin.lazy instead of kotlin.Delegates.lazy in KtPsiFactory.CallableBuilder

This commit is contained in:
Alexey Sedunov
2015-10-30 18:21:07 +03:00
parent 5e223927ea
commit 520e90acf1
5 changed files with 6 additions and 14 deletions
@@ -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
}