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 4dcd752f7508c5143924de3d509a202df6b09fae..0d9c0c65e50dc8cdb25b8d1719b47a93ffbf06fd 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart |
@@ -60,7 +60,7 @@ class RenameImportRefactoringImpl extends RenameRefactoringImpl { |
} else { |
if (prefix == null) { |
SourceRange range = rangeStartLength(element.uriEnd, 0); |
- edit = newSourceEdit_range(range, " as ${newName}"); |
+ edit = newSourceEdit_range(range, " as $newName"); |
} else { |
int offset = element.prefixOffset; |
int length = prefix.nameLength; |