Open
Description
If an extension that overrides a built-in member is available in scope, could we allow a "Wrap with extension override" fix for it?
class A {
int operator %(int other) => other;
int get thing => 0;
}
void main() {
var a = A();
a % '';
String str = a.thing;
}
extension AE on A {
String operator %(String other) => other;
String get thing => '';
}
We'd have to be smart about this, but I think it is doable.
CC @bwilkerson