Index: pkg/analyzer/test/src/task/dart_test.dart |
diff --git a/pkg/analyzer/test/src/task/dart_test.dart b/pkg/analyzer/test/src/task/dart_test.dart |
index ceec646a89b033d59f1494d597321433a1f6d69e..c0ad43b2f2a4de147c3b58ecaf00e3129ee2bfb8 100644 |
--- a/pkg/analyzer/test/src/task/dart_test.dart |
+++ b/pkg/analyzer/test/src/task/dart_test.dart |
@@ -1646,7 +1646,7 @@ import 'dart:core'; |
List<CompilationUnitElement> dep3 = results[3][LIBRARY_CYCLE_DEPENDENCIES]; |
expect(dep0, hasLength(1)); // dart:core |
expect(dep1, hasLength(1)); // dart:core |
- expect(dep3, hasLength(3)); // dart:core, a.dart, b.dart |
+ expect(dep2, hasLength(3)); // dart:core, a.dart, b.dart |
expect(dep3, hasLength(3)); // dart:core, a.dart, b.dart |
} |
@@ -3033,7 +3033,6 @@ class ResolveInstanceFieldsInUnitTaskTest extends _AbstractDartTaskTest { |
computeResult( |
new LibrarySpecificUnit(sources[2], sources[2]), RESOLVED_UNIT7); |
- CompilationUnit unit2 = outputs[RESOLVED_UNIT7]; |
// A.a2 should now be fully resolved and inferred. |
assertVariableDeclarationTypes( |
@@ -3067,7 +3066,6 @@ class ResolveInstanceFieldsInUnitTaskTest extends _AbstractDartTaskTest { |
} |
''' |
}); |
- InterfaceType intType = context.typeProvider.intType; |
DartType dynamicType = context.typeProvider.dynamicType; |
computeResult( |
@@ -3080,7 +3078,6 @@ class ResolveInstanceFieldsInUnitTaskTest extends _AbstractDartTaskTest { |
computeResult( |
new LibrarySpecificUnit(sources[2], sources[2]), RESOLVED_UNIT7); |
- CompilationUnit unit2 = outputs[RESOLVED_UNIT7]; |
// A.a2 should now be fully resolved and inferred. |
assertVariableDeclarationTypes( |
@@ -3142,7 +3139,6 @@ class ResolveInstanceFieldsInUnitTaskTest extends _AbstractDartTaskTest { |
computeResult( |
new LibrarySpecificUnit(sources[2], sources[2]), RESOLVED_UNIT7); |
- CompilationUnit unit2 = outputs[RESOLVED_UNIT7]; |
assertVariableDeclarationTypes( |
getFieldInClass(unit0, "A", "a1"), intType, intType); |
@@ -3194,7 +3190,6 @@ class ResolveInstanceFieldsInUnitTaskTest extends _AbstractDartTaskTest { |
computeResult( |
new LibrarySpecificUnit(sources[1], sources[1]), RESOLVED_UNIT7); |
- CompilationUnit unit1 = outputs[RESOLVED_UNIT7]; |
// A.a2 should now be fully resolved and inferred. |
assertVariableDeclarationTypes( |
@@ -3678,7 +3673,6 @@ var tau = piFirst ? pi * 2 : 6.28; |
List<dynamic> units = |
computeLibraryResults(sources, RESOLVED_UNIT9).toList(); |
CompilationUnit unit0 = units[0]; |
- CompilationUnit unit1 = units[1]; |
CompilationUnit unit2 = units[2]; |
InterfaceType intType = context.typeProvider.intType; |