FIR IDE: do not consider KtEnumEntry as ktClassOrObject

This commit is contained in:
Ilya Kirillov
2021-04-05 17:23:10 +02:00
parent ef5f0e77ec
commit 9e1bc5680d
@@ -99,3 +99,4 @@ internal fun KtDeclaration.hasFqName(): Boolean =
internal fun KtDeclaration.isNonAnonymousClassOrObject() =
this is KtClassOrObject
&& !this.isObjectLiteral()
&& this !is KtEnumEntry