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, i: Int = a + 1): String {
val x = "-$i"
val y = "x${i}y"
val z = "x${a - 1}y"
return "abc${i}def"
}