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

Unified Diff: tests/compiler/dart2js/resolver_test.dart

Issue 10911007: Rename Type to DartType to avoid conflicts with the class Type in the core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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: 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());
}

Powered by Google App Engine
This is Rietveld 408576698