False-negative for ambiguous_import
#59590
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
While working on https://dart-review.googlesource.com/c/sdk/+/386020 I got the following (I'll post the relevant files):
I was expecting the last line (
Random? r;
) to give out anambiguous_import
.Tested with simply the following and it shows the same as above:
If I comment the
import 'lib.dart';
line, nothing goes wrong.The text was updated successfully, but these errors were encountered: