KT-4893 Code completion should not show multiple functions with the same signature

#KT-4893 Fixed
This commit is contained in:
Valentin Kipyatkov
2015-06-09 23:10:47 +03:00
parent 4c0e7e32e7
commit 483da9607c
43 changed files with 737 additions and 106 deletions
@@ -0,0 +1,4 @@
package dependency
fun Any.xxx(): Int = 1
fun ppp.C.xxx(): Int = 1
@@ -0,0 +1,12 @@
package ppp
import dependency.*
class C {
fun foo() {
xx<caret>
}
}
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "() for C in dependency", typeText: "Int" }
// NOTHING_ELSE
@@ -0,0 +1,4 @@
package dependency
fun Any.xxx(): Int = 1
fun ppp.C.xxx(): Int = 1
@@ -0,0 +1,10 @@
package ppp
class C {
fun foo() {
xx<caret>
}
}
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "() for C in dependency", typeText: "Int" }
// NOTHING_ELSE