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

10 lines
175 B
Kotlin
Vendored

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