Light Classes: Fix origin search for KtLightSuperTypeReference

Use analyzeFully() when resolving super type references
This commit is contained in:
Alexey Sedunov
2017-03-27 15:36:03 +03:00
parent b6a26aa732
commit 72436c1738
4 changed files with 8 additions and 1 deletions
@@ -153,6 +153,8 @@ class CliLightClassGenerationSupport(project: Project) : LightClassGenerationSup
override fun analyze(element: KtElement) = bindingContext
override fun analyzeFully(element: KtElement) = bindingContext
override fun getFacadeClasses(facadeFqName: FqName, scope: GlobalSearchScope): Collection<PsiClass> {
val filesForFacade = findFilesForFacade(facadeFqName, scope)
if (filesForFacade.isEmpty()) return emptyList()