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

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

Issue 1193143002: Next steps toward HTML support (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments 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
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | pkg/analyzer/lib/src/task/html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 042c7746da7ff350e801ecd60e4606483f3a60aa..ff5767db903edd1f5eabbf0ca856578b1fcb41a4 100644
--- a/pkg/analyzer/lib/src/task/driver.dart
+++ b/pkg/analyzer/lib/src/task/driver.dart
@@ -157,13 +157,13 @@ class AnalysisDriver {
state == CacheState.IN_PROCESS) {
return null;
}
+ TaskDescriptor taskDescriptor = taskManager.findTask(target, result);
try {
- TaskDescriptor taskDescriptor = taskManager.findTask(target, result);
WorkItem workItem = new WorkItem(context, target, taskDescriptor, result);
return new WorkOrder(taskManager, workItem);
} catch (exception, stackTrace) {
throw new AnalysisException(
- 'Could not create work order (target = $target; result = $result)',
+ 'Could not create work order (target = $target; taskDescriptor = $taskDescriptor; result = $result)',
new CaughtException(exception, stackTrace));
}
}
« no previous file with comments | « pkg/analyzer/lib/src/task/dart.dart ('k') | pkg/analyzer/lib/src/task/html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698