Extract Function/Introduce Property: Support extraction of string template fragments
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// SUGGESTED_NAMES: i, getX
|
||||
fun foo(param: Int): String {
|
||||
val x = "a${i()}4_"
|
||||
val y = "-4${i()}a"
|
||||
val z = "+1243a"
|
||||
val u = 123
|
||||
return "ab${i()}def"
|
||||
}
|
||||
|
||||
private fun i() = 123
|
||||
Reference in New Issue
Block a user