Index: pkg/analysis_server/lib/src/services/refactoring/rename_local.dart |
diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart |
index 2d1b22171778d777a9c378c715cb447ee8e30d9b..1d37eb123ccf86a41ee3a4336866e06484a667ae 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_local.dart |
@@ -142,7 +142,7 @@ class _ConflictValidatorVisitor extends RecursiveAstVisitor { |
haveIntersectingRanges(refactoring.element, nodeElement)) { |
conflictingLocals.add(nodeElement); |
String nodeKind = nodeElement.kind.displayName; |
- String message = "Duplicate ${nodeKind} '$newName'."; |
+ String message = "Duplicate $nodeKind '$newName'."; |
result.addError(message, newLocation_fromElement(nodeElement)); |
return; |
} |