Use imported library with prefix (remove hide/add show) adds new prefix to use #57090
Labels
area-front-end
Use area-front-end for front end / CFE / kernel format related issues.
triage-automation
See https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot.
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
After #54786 was closed, we now have a bug in the following code when using the assist:
file.dart:
main.dart
Currently adds a new prefix so at that line we end up with
void foo(l.l.A a) {}
.Also, prefix-related, I think this could probably be fixed together. If the code was instead:
It removes the
hide A
but it doesn't look whether there is a prefix on the element. I'm unsure if this suggestion should be suppressed or if we should remove the prefix (preferred) in that case (there is no suggestion if thehide A
or ashow
is not present at the import).The text was updated successfully, but these errors were encountered: