Add postfix template for the spread operator #KT-26249 Fixed

This commit is contained in:
Toshiaki Kameyama
2018-08-21 00:05:15 +09:00
committed by Alexander Podkhalyuzin
parent 32d910320f
commit f1dc09f839
10 changed files with 55 additions and 1 deletions
@@ -0,0 +1,5 @@
fun foo(list: List<String>) {
bar(<spot>*</spot>list.toTypedArray())
}
fun bar(vararg args: String) {}
@@ -0,0 +1,5 @@
fun foo(list: List<String>) {
bar(<spot>list.toTypedArray()</spot>$key)
}
fun bar(vararg args: String) {}
@@ -0,0 +1,5 @@
<html>
<body>
Add the spread operator to the prefix.
</body>
</html>