Enhance convert-to-mixin quick assist #34661
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-quick-fix
Issues with analysis server (quick) fixes
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
Server has a "convert to mixin" quick assist.
It currently only works at the declaration site of the class to be converted. It would be nice if it also worked at the use sites (where the class is included in a
with
clause.We should also consider supporting the case where a class is used as both a class and a mixin. The transformation is here (#57774). We might well want this to be a separate "convert to mixin and class" assist.
The text was updated successfully, but these errors were encountered: