Extract Function/Introduce Property: Support extraction of string template fragments

This commit is contained in:
Alexey Sedunov
2015-11-18 15:11:10 +03:00
parent f4b4b023a3
commit 741489f4a5
75 changed files with 846 additions and 91 deletions
@@ -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