Smart completion: fixed in argument with "*"

This commit is contained in:
Valentin Kipyatkov
2015-06-04 22:43:19 +03:00
parent 2197d554ca
commit 54e9a46f12
7 changed files with 65 additions and 4 deletions
@@ -0,0 +1,7 @@
fun foo(vararg strings: String){ }
fun bar(list: List<String>){
foo(*list.<caret>)
}
// ELEMENT: toTypedArray
@@ -0,0 +1,7 @@
fun foo(vararg strings: String){ }
fun bar(list: List<String>){
foo(*list.toTypedArray()<caret>)
}
// ELEMENT: toTypedArray