KT-14252 Completion could suggest constructors available via typealiases

#KT-14252 fixed
This commit is contained in:
Simon Ogorodnik
2017-01-27 23:21:16 +03:00
parent 39fc1789e0
commit c2ba4e3ab9
14 changed files with 197 additions and 37 deletions
@@ -8,3 +8,4 @@ fun f(){
}
// ELEMENT: HashMap
// TAIL_TEXT: (...) (kotlin.collections)
@@ -1,10 +1,12 @@
import java.util.HashMap
import java.util.List
import kotlin.collections.HashMap
fun foo(p: HashMap<String, List<Int>>){}
fun f(){
foo(HashMap(<caret>))
foo(HashMap())
}
// ELEMENT: HashMap
// TAIL_TEXT: (...) (kotlin.collections)