Quick fix "Use imported library ... with prefix ..." should update show
combinator
#54786
Labels
devexp-quick-fix
Issues with analysis server (quick) fixes
legacy-area-analyzer
Use area-devexp instead.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Reproduced at 3636c8a using VSCode.
Start with the following code:
This code has a compile-time error at (2) (
undefined_identifier
).Trigger quick fixes at that point, and select the fix "Use imported library 'dart:math' with prefix 'math'".
This causes line (2) to change to:
Which, unfortunately, still has a compile-time error, since the import at (1) doesn't show
sqrt2
.It would be nice if the quick fix also updated the import's
show
combinator.The text was updated successfully, but these errors were encountered: