Join Slack
Powered by
<Kotlin 1.9 will have a replacement for Enum.value...
# detekt
e
eygraber
04/03/2023, 2:30 PM
Kotlin 1.9 will have a replacement for Enum.values called Enum.entries
Is that a good use case for a rule, i.e. use
entries
instead of
values
or could one of the Forbidden rules be used for that?
b
Brais Gabin
04/03/2023, 4:32 PM
To me it feels like a ruke for the performance rule set. I'm not sure if forbidden method call can forbid a synthetic cal...
4
Views
Open in Slack
Previous
Next