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

Unified Diff: pkg/analysis_server/lib/src/services/refactoring/inline_method.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/inline_method.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
index fb8791ffdc2aca4c262a04985d6720ab97c26767..f3100efffe905af7bd27c6285b511d8a617c19cb 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/inline_method.dart
@@ -324,7 +324,7 @@ class InlineMethodRefactoringImpl extends RefactoringImpl
RefactoringStatus fatalStatus = new RefactoringStatus.fatal(
'Method declaration or reference must be selected to activate this refactoring.');
// prepare selected SimpleIdentifier
- AstNode node = new NodeLocator.con1(offset).searchWithin(unit);
+ AstNode node = new NodeLocator(offset).searchWithin(unit);
if (node is! SimpleIdentifier) {
return fatalStatus;
}

Powered by Google App Engine
This is Rietveld 408576698