Files
kotlin-fork/idea/testData/refactoring/introduceProperty/primaryConstructorParameterReference.kt.after
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

6 lines
124 B
Plaintext
Vendored

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