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

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

Issue 1168743002: Reanalyze after creating a referenced part. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/driver.dart
diff --git a/pkg/analyzer/lib/src/task/driver.dart b/pkg/analyzer/lib/src/task/driver.dart
index ad76d3dd2aae9ab2c4daa7b44933ad77177a73b0..162f6f0549a4f25d872c7e61477eae3016e6f4ba 100644
--- a/pkg/analyzer/lib/src/task/driver.dart
+++ b/pkg/analyzer/lib/src/task/driver.dart
@@ -126,6 +126,7 @@ class AnalysisDriver {
}
// Create a new WorkOrder.
TargetedResult request = highestManager.getNextResult();
+// print('request: $request');
if (request != null) {
WorkOrder workOrder =
createWorkOrderForResult(request.target, request.result);
@@ -232,6 +233,7 @@ class AnalysisDriver {
*/
AnalysisTask performWorkItem(WorkItem item) {
if (item.exception != null) {
+ print(item.exception);
Brian Wilkerson 2015/06/05 18:24:48 Ditto, noting that this code isn't commented out.
scheglov 2015/06/05 18:28:24 Thank you. Removed.
// Mark all of the results that the task would have computed as being in
// ERROR with the exception recorded on the work item.
CacheEntry targetEntry = context.getCacheEntry(item.target);

Powered by Google App Engine
This is Rietveld 408576698