Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: pkg/analysis_server/lib/src/services/refactoring/rename_import.dart

Issue 1131423002: Clean up many generated constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Comment change Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6f910a9e3abb773f8e4eda08da6b95f56704852d..608eb736e25fc5368e06ca674d0d8dbb2216673f 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/rename_import.dart
@@ -101,7 +101,7 @@ class RenameImportRefactoringImpl extends RenameRefactoringImpl {
SimpleIdentifier _getInterpolationIdentifier(SourceReference reference) {
Source source = reference.element.source;
CompilationUnit unit = context.parseCompilationUnit(source);
- NodeLocator nodeLocator = new NodeLocator.con1(reference.range.offset);
+ NodeLocator nodeLocator = new NodeLocator(reference.range.offset);
AstNode node = nodeLocator.searchWithin(unit);
if (node is SimpleIdentifier) {
AstNode parent = node.parent;

Powered by Google App Engine
This is Rietveld 408576698