Fixed filtering of shadowed declarations after changes in extensions treatment

This commit is contained in:
Valentin Kipyatkov
2015-10-28 18:25:03 +03:00
parent be5569d31a
commit 9feed9c3ef
8 changed files with 93 additions and 49 deletions
@@ -0,0 +1,3 @@
package dependency1
fun Any.xxx(): Int = 1
@@ -0,0 +1,3 @@
package dependency2
fun ppp.C.xxx(): Int = 1
@@ -0,0 +1,17 @@
package ppp
import dependency1.xxx
import dependency2.xxx
interface I
fun I.xxx() {}
class C : I {
fun foo() {
xx<caret>
}
}
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "() for C in dependency2", typeText: "Int" }
// NOTHING_ELSE