Files
kotlin-fork/idea/testData/refactoring/introduceProperty/extractLazyMultipleExpressions.kt
T

11 lines
179 B
Kotlin
Vendored

// WITH_RUNTIME
// EXTRACTION_TARGET: lazy property
class A {
fun foo(): Int {
<selection>val a = 1 + 2
val b = a*2</selection>
val c = b - 1
}
}