| 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 482c03aac73649fd79a0d530b8e8081cd1e310e9..f61600f7a2349d74de95fe8cc33e5fd00975400b 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'];
|
|
|