Introduce Parameter: Support extraction of string template fragments

This commit is contained in:
Alexey Sedunov
2015-11-18 15:15:32 +03:00
parent 6e8acc6453
commit 1b162e0294
34 changed files with 295 additions and 15 deletions
@@ -0,0 +1,6 @@
fun foo(a: Int): String {
val x = "-${a + 1}"
val y = "x${a + 1}y"
val z = "x${a - 1}y"
return "abc<selection>${a + 1}</selection>def"
}