Light Classes: Fix origin search for KtLightSuperTypeReference
Use analyzeFully() when resolving super type references
This commit is contained in:
+2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user