Revert createClassLikeInfo method signature change, depreceate it ...

instead and make alternative method for refactored usages.
Should fix compatibility with the Spek framework plugin.
This commit is contained in:
Ilya Chernikov
2019-04-01 10:52:51 +02:00
parent 070fb7c250
commit 075a902ceb
5 changed files with 16 additions and 7 deletions
@@ -75,7 +75,7 @@ class StubBasedPackageMemberDeclarationProvider(
override fun getClassOrObjectDeclarations(name: Name): Collection<KtClassOrObjectInfo<*>> = runReadAction {
KotlinFullClassNameIndex.getInstance().get(childName(name), project, searchScope)
.map { KtClassInfoUtil.createClassLikeInfo(it) }
.map { KtClassInfoUtil.createClassOrObjectInfo(it) }
}
override fun getScriptDeclarations(name: Name): Collection<KtScriptInfo> = runReadAction {