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

Unified Diff: pkg/analysis_server/lib/src/services/refactoring/inline_local.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_local.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart b/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart
index 350517acfbed4b86511e9fae354932e2b86d4910..8ae9b94a0488d997dfd1bd4af62d88543b675bed 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/inline_local.dart
@@ -69,7 +69,7 @@ class InlineLocalRefactoringImpl extends RefactoringImpl
RefactoringStatus result = new RefactoringStatus();
// prepare variable
{
- AstNode offsetNode = new NodeLocator.con1(offset).searchWithin(unit);
+ AstNode offsetNode = new NodeLocator(offset).searchWithin(unit);
if (offsetNode is SimpleIdentifier) {
Element element = offsetNode.staticElement;
if (element is LocalVariableElement) {

Powered by Google App Engine
This is Rietveld 408576698