FIR IDE: do not consider KtEnumEntry as ktClassOrObject
This commit is contained in:
+1
@@ -99,3 +99,4 @@ internal fun KtDeclaration.hasFqName(): Boolean =
|
||||
internal fun KtDeclaration.isNonAnonymousClassOrObject() =
|
||||
this is KtClassOrObject
|
||||
&& !this.isObjectLiteral()
|
||||
&& this !is KtEnumEntry
|
||||
|
||||
Reference in New Issue
Block a user