Index: pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart |
diff --git a/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart b/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart |
index 636c8bb7c9f1eadc09ea400951a3939463df429f..d5c489a353c65ba13264ed1ccaa800627d4a6bd0 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart |
@@ -72,7 +72,9 @@ class RenameConstructorRefactoringImpl extends RenameRefactoringImpl { |
for (Element newNameMember in getChildren(parentClass, newName)) { |
String message = format( |
"Class '{0}' already declares {1} with name '{2}'.", |
- parentClass.displayName, getElementKindName(newNameMember), newName); |
+ parentClass.displayName, |
+ getElementKindName(newNameMember), |
+ newName); |
result.addError(message, newLocation_fromElement(newNameMember)); |
} |
} |