Index: pkg/analyzer/lib/src/task/options_work_manager.dart |
diff --git a/pkg/analyzer/lib/src/task/options_work_manager.dart b/pkg/analyzer/lib/src/task/options_work_manager.dart |
index 7956a8a0f6774cfb108b8cbef946d3e5e6487819..4132c2aa2417e4b5a73fa3b64f5bf3d9cea30994 100644 |
--- a/pkg/analyzer/lib/src/task/options_work_manager.dart |
+++ b/pkg/analyzer/lib/src/task/options_work_manager.dart |
@@ -37,7 +37,8 @@ class OptionsWorkManager implements WorkManager { |
/// Specifies that the client wants the given [result] of the given [target] |
/// to be computed with priority. |
void addPriorityResult(AnalysisTarget target, ResultDescriptor result) { |
- priorityResultQueue.add(new TargetedResult(target, result)); |
+ priorityResultQueue |
+ .add(new TargetedResult(context.canonicalizeTarget(target), result)); |
} |
@override |