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:
+6
@@ -0,0 +1,6 @@
|
||||
package second
|
||||
|
||||
import first.OuterClass
|
||||
|
||||
fun OuterClass.outerExtension() {
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
package first
|
||||
|
||||
class OuterClass {
|
||||
class Nested {
|
||||
fun foo() {
|
||||
out<caret>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// INVOCATION_COUNT: 2
|
||||
// ABSENT: outerExtension
|
||||
Reference in New Issue
Block a user