Added test for second press completion for inaccessible
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
package dependency
|
||||
|
||||
fun Any.xxx(): Int = 1
|
||||
private fun ppp.C.xxx(): Int = 1
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
package ppp
|
||||
|
||||
import dependency.*
|
||||
|
||||
class C
|
||||
|
||||
fun foo(c: C) {
|
||||
c.xx<caret>
|
||||
}
|
||||
|
||||
// we should not include inaccessible extension even on the second completion because the call won't resolve into it anyway
|
||||
// INVOCATION_COUNT: 2
|
||||
// EXIST: { lookupString: "xxx", itemText: "xxx", tailText: "() for Any in dependency", typeText: "Int" }
|
||||
// NOTHING_ELSE
|
||||
Reference in New Issue
Block a user