Introduce Parameter: Support extraction of string template fragments
This commit is contained in:
Vendored
+8
@@ -0,0 +1,8 @@
|
||||
fun foo(a: Int, s: String = """c$a
|
||||
:${a + 1}d"""): String {
|
||||
val x = """_${s}_"""
|
||||
val y = "_$a:${a + 1}d_"
|
||||
val z = """_c$a:${a + 1}d_"""
|
||||
val u = "_c$a\n:${a + 1}d_"
|
||||
return """ab${s}ef"""
|
||||
}
|
||||
Reference in New Issue
Block a user