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

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

Issue 177963002: Use List instead of Link in the type system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Created 6 years, 6 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
« no previous file with comments | « tests/compiler/dart2js/type_order_test.dart ('k') | tests/compiler/dart2js/type_substitution_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/type_representation_test.dart
diff --git a/tests/compiler/dart2js/type_representation_test.dart b/tests/compiler/dart2js/type_representation_test.dart
index 51df26a5cc5001d9cf65783f354a60a6e12cf01c..21ad655325df7d0bdfd2d3082688fa2d3b14cc12 100644
--- a/tests/compiler/dart2js/type_representation_test.dart
+++ b/tests/compiler/dart2js/type_representation_test.dart
@@ -64,10 +64,10 @@ void testTypeRepresentations() {
String named = backend.namer.functionTypeNamedParametersTag();
ClassElement List_ = env.getElement('List');
- TypeVariableType List_E = List_.typeVariables.head;
+ TypeVariableType List_E = List_.typeVariables[0];
ClassElement Map_ = env.getElement('Map');
- TypeVariableType Map_K = Map_.typeVariables.head;
- TypeVariableType Map_V = Map_.typeVariables.tail.head;
+ TypeVariableType Map_K = Map_.typeVariables[0];
+ TypeVariableType Map_V = Map_.typeVariables[1];
DartType Object_ = env['Object'];
DartType int_ = env['int'];
« no previous file with comments | « tests/compiler/dart2js/type_order_test.dart ('k') | tests/compiler/dart2js/type_substitution_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698