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

Unified Diff: pkg/analyzer/test/src/task/driver_test.dart

Issue 2357553003: Fix newly introduced errors and warnings (Closed)
Patch Set: Created 4 years, 3 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/test/src/task/driver_test.dart
diff --git a/pkg/analyzer/test/src/task/driver_test.dart b/pkg/analyzer/test/src/task/driver_test.dart
index 14620f77ca27cab51cf39045907a3663192eb33b..35ff65709f289cb917bcd977d1b4d50a1de63cb5 100644
--- a/pkg/analyzer/test/src/task/driver_test.dart
+++ b/pkg/analyzer/test/src/task/driver_test.dart
@@ -187,7 +187,8 @@ class AnalysisDriverTest extends AbstractDriverTest {
test_createWorkOrderForResult_valid() {
AnalysisTarget target = new TestSource();
- ResultDescriptor result = new ResultDescriptor('result', null);
+ ResultDescriptor<String> result =
+ new ResultDescriptor<String>('result', null);
context
.getCacheEntry(target)
.setValue(result, '', TargetedResult.EMPTY_LIST);
@@ -479,7 +480,8 @@ class AnalysisDriverTest extends AbstractDriverTest {
_createWorkOrderForTarget(
bool complete, bool priorityTarget, bool priorityResult) {
AnalysisTarget target = new TestSource();
- ResultDescriptor result = new ResultDescriptor('result', null);
+ ResultDescriptor<String> result =
+ new ResultDescriptor<String>('result', null);
TaskDescriptor descriptor = new TaskDescriptor(
'task',
(context, target) => new TestAnalysisTask(context, target),

Powered by Google App Engine
This is Rietveld 408576698