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