[dart fix] inEnum does not apply transform #54188
Labels
analyzer-data-driven-fixes
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
I want to rename a deprecated enum value in flutter/flutter#139257
For example:
I wrote the following rule to try to rename uses of the deprecated enum:
The transformation I expected in the test was:
But nothing happened.
This is the first
inEnum
fix for the framework, so there could be a bug?The docs mention
enum
orconstant
for the element when usinginEnum
, neither of those worked. I triedfield
as well for good measure.The text was updated successfully, but these errors were encountered: