Extract Function/Introduce Property: Support extraction of string template fragments
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// EXTRACTION_TARGET: property with initializer
|
||||
val a = 1
|
||||
|
||||
private val s = "abc$a"
|
||||
|
||||
fun foo(): String {
|
||||
val x = s
|
||||
val y = s
|
||||
val z = "abc{$a}def"
|
||||
return s + "def"
|
||||
}
|
||||
Reference in New Issue
Block a user