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

Unified Diff: pkg/analyzer/lib/src/task/dart_work_manager.dart

Issue 1144023009: Adapt the existing incremental resolution implementation to the new model. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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/analyzer/lib/src/task/dart_work_manager.dart
diff --git a/pkg/analyzer/lib/src/task/dart_work_manager.dart b/pkg/analyzer/lib/src/task/dart_work_manager.dart
index 06af9e94f5e2e530bf0cee9d5fd6d44b56cfc5f4..e006f86e5d0e11c8edf0f157b30d2d9f4c663881 100644
--- a/pkg/analyzer/lib/src/task/dart_work_manager.dart
+++ b/pkg/analyzer/lib/src/task/dart_work_manager.dart
@@ -242,6 +242,10 @@ class DartWorkManager implements WorkManager {
return WorkOrderPriority.NONE;
}
+ void unitIncrementallyResolved(Source librarySource, Source unitSource) {
+ librarySourceQueue.add(librarySource);
+ }
+
@override
void resultsComputed(
AnalysisTarget target, Map<ResultDescriptor, dynamic> outputs) {

Powered by Google App Engine
This is Rietveld 408576698