Fixed completion for extension function after removing members for implicit receiver from scope.

This commit is contained in:
Stanislav Erokhin
2015-08-18 15:52:08 +03:00
parent a1274f91ba
commit ec43f49ab4
9 changed files with 209 additions and 77 deletions
@@ -0,0 +1,21 @@
interface A {
fun memberA()
}
interface B {
fun memberB()
}
interface C {
fun memberC()
}
fun C.test(a: Any) {
if (a is A && a is B) {
a.<caret>
}
}
// EXIST: memberA
// EXIST: memberB
// ABSENT: memberC