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 f403e6e0dfcce9428faf5b8ffef6462695583d44..e079875f2f6cc8d6da7d8c289fd5cf80f1415db7 100644 |
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart |
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_constructor.dart |
@@ -100,13 +100,15 @@ class RenameConstructorRefactoringImpl extends RenameRefactoringImpl { |
sourceRange = new SourceRange(element.nameEnd, 0); |
} |
return new SourceReference(new SearchMatchImpl( |
- element.context, |
- element.library.source.uri.toString(), |
- element.source.uri.toString(), |
- MatchKind.DECLARATION, |
- sourceRange, |
+ element.source.fullName, |
+ element.library.source, |
+ element.source, |
+ element.library, |
+ element, |
+ true, |
true, |
- true)); |
+ MatchKind.DECLARATION, |
+ sourceRange)); |
} |
Future<Null> _replaceSynthetic() async { |