Introduce Lambda Parameter: Support extraction of string template fragments

This commit is contained in:
Alexey Sedunov
2015-11-20 14:23:41 +03:00
parent c82d431cff
commit 736813c76a
34 changed files with 277 additions and 1 deletions
@@ -0,0 +1,9 @@
fun foo(a: Int): String {
val x = """_c$a
:${a + 1}d_"""
val y = "_$a:${a + 1}d_"
val z = """_c$a:${a + 1}d_"""
val u = "_c$a\n:${a + 1}d_"
return """ab<selection>c$a
:${a + 1}d</selection>ef"""
}