Files
kotlin-fork/idea/testData/refactoring/introduceProperty/primaryConstructorParameterReference.kt
T
Alexey Sedunov 00ad37b769 Introduce Property: Fix extraction of expressions referring to primary constructor parameters
#KT-12294 Fixed
(cherry picked from commit 78212a4)
2016-07-20 15:30:10 +03:00

4 lines
124 B
Kotlin
Vendored

// EXTRACTION_TARGET: property with initializer
class Foo(s: String) {
val l = <selection>(s + "1")</selection>.length
}