Introduce Variable: Support extraction of string template fragments

#KT-2089 Fixed
This commit is contained in:
Alexey Sedunov
2015-11-16 16:06:01 +03:00
parent 7dbcceee79
commit f4b4b023a3
40 changed files with 592 additions and 48 deletions
@@ -0,0 +1,7 @@
fun foo(a: Int): String {
val s = "cd"
val x = "x$s$a"
val y = "${a}${s}x"
val z = "xcf$a"
return "ab${s}ef"
}