Smart completion: heuristic parameter types for some methods like Collection.contains()

This commit is contained in:
Valentin Kipyatkov
2015-01-20 12:43:10 +03:00
parent 3b6b9a45e2
commit 3c573d555a
21 changed files with 341 additions and 32 deletions
@@ -0,0 +1,6 @@
fun foo(list: Map<String, Int>, p1: Any, p2: String) {
list.containsKey(<caret>)
}
// ABSENT: p1
// EXIST: p2