Restrict index search to declarations visible from Java
Fix KotlinStdLibInJavaCompletionTestGenerated.testList Regression after KotlinShortNamesCache rewrite.
This commit is contained in:
@@ -93,7 +93,7 @@ class KotlinShortNamesCache(private val project: Project) : PsiShortNamesCacheWr
|
||||
KotlinClassShortNameIndex.getInstance().key,
|
||||
name,
|
||||
project,
|
||||
scope,
|
||||
effectiveScope,
|
||||
filter,
|
||||
KtClassOrObject::class.java
|
||||
) { ktClassOrObject ->
|
||||
@@ -107,7 +107,7 @@ class KotlinShortNamesCache(private val project: Project) : PsiShortNamesCacheWr
|
||||
KotlinFileFacadeShortNameIndex.getInstance().key,
|
||||
name,
|
||||
project,
|
||||
scope,
|
||||
effectiveScope,
|
||||
filter,
|
||||
KtFile::class.java
|
||||
) { ktFile ->
|
||||
|
||||
Reference in New Issue
Block a user