Index: tests/compiler/dart2js/resolver_test.dart |
diff --git a/tests/compiler/dart2js/resolver_test.dart b/tests/compiler/dart2js/resolver_test.dart |
index df2320ffb2dac6173b5968f0972a0d5abde8ed9b..623094186cb9bcac8168c6f83c676c639f49bc8f 100644 |
--- a/tests/compiler/dart2js/resolver_test.dart |
+++ b/tests/compiler/dart2js/resolver_test.dart |
@@ -86,7 +86,7 @@ testTypeVariables() { |
Expect.equals(definition.type.typeArguments.length(), |
length(type.arguments)); |
int index = 0; |
- Link<Type> arguments = type.arguments; |
+ Link<DartType> arguments = type.arguments; |
while (!arguments.isEmpty()) { |
Expect.equals(true, index < expectedElements.length); |
Expect.equals(expectedElements[index], arguments.head.element); |
@@ -609,7 +609,7 @@ testClassHierarchy() { |
Expect.equals(0, compiler.warnings.length); |
Expect.equals(0, compiler.errors.length); |
ClassElement aElement = compiler.mainApp.find(buildSourceString("A")); |
- Link<Type> supertypes = aElement.allSupertypes; |
+ Link<DartType> supertypes = aElement.allSupertypes; |
Expect.equals(<String>['B', 'C', 'Object'].toString(), |
asSortedStrings(supertypes).toString()); |
} |