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

Unified Diff: pkg/analysis_server/lib/src/utilities/change_builder_dart.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/utilities/change_builder_dart.dart
diff --git a/pkg/analysis_server/lib/src/utilities/change_builder_dart.dart b/pkg/analysis_server/lib/src/utilities/change_builder_dart.dart
index 94853adf297872a29a747691562ff225160342b9..f438d2571910270df332e103f09a83dd68e5d05c 100644
--- a/pkg/analysis_server/lib/src/utilities/change_builder_dart.dart
+++ b/pkg/analysis_server/lib/src/utilities/change_builder_dart.dart
@@ -458,10 +458,10 @@ class DartFileEditBuilderImpl extends FileEditBuilderImpl
CorrectionUtils utils;
/**
- * A set containing the elements of the libraries that need to be imported in
+ * A set containing the sources of the libraries that need to be imported in
* order to make visible the names used in generated code.
*/
- Set<LibraryElement> librariesToImport = new Set<LibraryElement>();
+ Set<Source> librariesToImport = new Set<Source>();
/**
* Initialize a newly created builder to build a source file edit within the

Powered by Google App Engine
This is Rietveld 408576698