Smart completion: generic functions are correctly included into the list

#KT-6375 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-12-03 14:00:33 +03:00
parent a40db1e794
commit 856be73500
24 changed files with 388 additions and 126 deletions
@@ -0,0 +1,8 @@
fun foo(array: Array<String?>){}
fun f(){
foo(<caret>)
}
// EXIST: { lookupString: "array", tailText: "(vararg t: String?) (kotlin)", typeText: "Array<String?>" }
// EXIST: { lookupString: "arrayOfNulls", tailText: "(size: Int) (kotlin)", typeText: "Array<String?>" }