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

10 lines
170 B
Kotlin
Vendored

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