Closed
Description
With the lint `` enabled, it would be nice if super parameters that have the same name as the corresponding parameter in the super-constructor were renamed when the super-constructor's parameter is renamed (whether directly or by renaming a field in the case of a field formal parameter).
For example, given
class Base {
Base(this.value);
final int value;
}
class Sub extends Base {
Sub(super.value);
}
It would be nice for super.value
to be renamed if the field value
is renamed.
Depending on the outcome of #59104, we might also want to rename the super parameter even when the name is the same modulo a leading underscore.