KT-11588 Type aliases: Fix EA-1117340
This commit is contained in:
+2
-2
@@ -275,8 +275,8 @@ class IDELightClassGenerationSupport(private val project: Project) : LightClassG
|
|||||||
ForceResolveUtil.forceResolveAllContents(descriptor)
|
ForceResolveUtil.forceResolveAllContents(descriptor)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (declaration is KtClassOrObject) {
|
else if (declaration is KtClassOrObject || declaration is KtTypeAlias) {
|
||||||
// Do nothing: we are not interested in classes
|
// Do nothing: we are not interested in classes or type aliases
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LOG.error("Unsupported declaration kind: " + declaration + " in file " + file.name + "\n" + file.text)
|
LOG.error("Unsupported declaration kind: " + declaration + " in file " + file.name + "\n" + file.text)
|
||||||
|
|||||||
Reference in New Issue
Block a user