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

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

Issue 2532393008: Add libraries in corrections using SourceInfo instance of LibraryElement. (Closed)
Patch Set: Replace SourceInfo with Source. Created 4 years 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/extract_method.dart
diff --git a/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart b/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart
index 4c613cfdff28d3b122eaf7d78348286f594a8eba..107abf3d74f6ee955c2be1ef2056439a7fdeeb20 100644
--- a/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart
+++ b/pkg/analysis_server/lib/src/services/refactoring/extract_method.dart
@@ -81,7 +81,7 @@ class ExtractMethodRefactoringImpl extends RefactoringImpl
LibraryElement libraryElement;
SourceRange selectionRange;
CorrectionUtils utils;
- Set<LibraryElement> librariesToImport = new Set<LibraryElement>();
+ Set<Source> librariesToImport = new Set<Source>();
String returnType = '';
String variableType;

Powered by Google App Engine
This is Rietveld 408576698