[FIR] Replace Enum.values() with entries call
This commit is contained in:
committed by
Space Team
parent
3fba3b703e
commit
b509d8efc2
+1
-1
@@ -248,7 +248,7 @@ private fun FirAnnotation.getDeprecationLevel(): DeprecationLevelValue? {
|
||||
|
||||
val targetName = argument.extractEnumValueArgumentInfo()?.enumEntryName?.asString() ?: return null
|
||||
|
||||
return DeprecationLevelValue.values().find { it.name == targetName }
|
||||
return DeprecationLevelValue.entries.find { it.name == targetName }
|
||||
}
|
||||
|
||||
private fun List<FirAnnotation>.extractDeprecationAnnotationInfoPerUseSite(
|
||||
|
||||
Reference in New Issue
Block a user