Import library combinator fixes should consider lint and multiple combinators #60131
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
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
This is basically a revisiting of
IMPORT_LIBRARY_COMBINATOR
andIMPORT_LIBRARY_COMBINATOR_MULTIPLE
. I've made them work with bothhide
andshow
previously. Now after completing #56830 I was reminded by @bwilkerson that we should update more than one combinator (if the user has it) so the code actually works.Today both fixes are hard-coded to a single combinator so the idea is to make them work if you have multiple.
I also added support in the same commit for the
combinators_ordering
lint so I'd like to be coherent here too and follow its ruling for sorting the combinators.The text was updated successfully, but these errors were encountered: