Support delegating to interfaces in ultra-light classes

This commit is contained in:
Denis Zharkov
2018-12-04 11:15:56 +03:00
parent dbf9ff29a9
commit 52d5143dd7
4 changed files with 34 additions and 5 deletions
@@ -122,8 +122,6 @@ class IDELightClassGenerationSupport(private val project: Project) : LightClassG
if (declaration is KtClassOrObject) {
declaration.superTypeListEntries.find { it is KtDelegatedSuperTypeEntry }?.let { return it }
declaration.primaryConstructor?.let { findTooComplexDeclaration(it) }?.let { return it }
for (d in declaration.declarations) {