Fix project compilation against bootstrap compiler

This is needed after e3b6104489
This commit is contained in:
Mikhail Zarechenskiy
2020-01-29 15:24:27 +03:00
parent 091e8495cd
commit e750528551
@@ -57,7 +57,7 @@ class FirJavaElementFinder(
}
override fun findClasses(qualifiedName: String, scope: GlobalSearchScope): Array<PsiClass> {
return findClass(qualifiedName, scope)?.let(::arrayOf) ?: emptyArray()
return findClass(qualifiedName, scope)?.let { arrayOf(it) } ?: emptyArray()
}
override fun findClass(qualifiedName: String, scope: GlobalSearchScope): PsiClass? {