Open
Description
Say you have:
base.dart
class A {}
class B {
A a => A();
}
main.dart
import 'base.dart' show B;
class C extends B {
@overr^
}
This completion list would show all things from Object
and the completion for overriding B.a
.
If A
was declared in another file, say a.dart
, the new import would be added above, and everything would work as expected. But since it is defined in the same import that uses a combinator, the completion will add the type to the line as the expected return type, but it currently doesn't fix the import line.