Code completion: do not list instance members from context with no instance

#KT-6388 Fixed
 #KT-4422 Fixed
 #KT-5516 Fixed
This commit is contained in:
Valentin Kipyatkov
2014-12-19 21:42:15 +03:00
parent d33e60b876
commit 311a3a75c8
22 changed files with 307 additions and 18 deletions
@@ -0,0 +1,6 @@
package second
import first.OuterClass
fun OuterClass.outerExtension() {
}
@@ -0,0 +1,12 @@
package first
class OuterClass {
class Nested {
fun foo() {
out<caret>
}
}
}
// INVOCATION_COUNT: 2
// ABSENT: outerExtension