Rename breaks at super.fieldName
boundary
#55552
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
Field renaming breaks at the boundary between a class and its superclass, when the field is defined in the superclass.
Given the following code:
If you click on the indicated
a
then observe what is highlighted, you see only thea
insuper.a
additionally highlighted:I would argue that the
a
inA.a
andthis.a
in classA
also should be highlighted.Now with the cursor in the same location, if you try to rename
a
toq
, the code breaks. This breaks precisely becauseA.a
is not considered to be the same asB.a
:The text was updated successfully, but these errors were encountered: