Index: pkg/analysis_server/lib/src/services/refactoring/rename_import.dart |
diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart |
index 608eb736e25fc5368e06ca674d0d8dbb2216673f..6b73dd9533bac5ec4ee6f4338544bf26da608c06 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart |
@@ -82,8 +82,11 @@ class RenameImportRefactoringImpl extends RenameRefactoringImpl { |
SimpleIdentifier interpolationIdentifier = |
_getInterpolationIdentifier(reference); |
if (interpolationIdentifier != null) { |
- doSourceChange_addElementEdit(change, reference.element, |
- new SourceEdit(interpolationIdentifier.offset, |
+ doSourceChange_addElementEdit( |
+ change, |
+ reference.element, |
+ new SourceEdit( |
+ interpolationIdentifier.offset, |
interpolationIdentifier.length, |
'{$newName.${interpolationIdentifier.name}}')); |
} else { |