| Index: tests/compiler/dart2js/least_upper_bound_test.dart
|
| diff --git a/tests/compiler/dart2js/least_upper_bound_test.dart b/tests/compiler/dart2js/least_upper_bound_test.dart
|
| index 3be823af9c8f1976e16343de9044f9ead092a9dc..c65b28008302772f6f8568aed3b03ffbaf1a07d7 100644
|
| --- a/tests/compiler/dart2js/least_upper_bound_test.dart
|
| +++ b/tests/compiler/dart2js/least_upper_bound_test.dart
|
| @@ -11,7 +11,6 @@ import 'package:compiler/implementation/dart_types.dart';
|
| import "package:compiler/implementation/elements/elements.dart"
|
| show Element, ClassElement;
|
| import 'package:compiler/implementation/util/util.dart'
|
| - show Link;
|
|
|
| void main() {
|
| testInterface1();
|
| @@ -725,12 +724,12 @@ void testTypeVariable() {
|
| DartType B = env['B'];
|
| DartType C = env['C'];
|
| ClassElement I = env.getElement('I');
|
| - DartType S = I.typeVariables.head;
|
| - DartType T = I.typeVariables.tail.head;
|
| - DartType U = I.typeVariables.tail.tail.head;
|
| - DartType V = I.typeVariables.tail.tail.tail.head;
|
| - DartType W = I.typeVariables.tail.tail.tail.tail.head;
|
| - DartType X = I.typeVariables.tail.tail.tail.tail.tail.head;
|
| + DartType S = I.typeVariables[0];
|
| + DartType T = I.typeVariables[1];
|
| + DartType U = I.typeVariables[2];
|
| + DartType V = I.typeVariables[3];
|
| + DartType W = I.typeVariables[4];
|
| + DartType X = I.typeVariables[5];
|
|
|
| checkLub(DartType a, DartType b, DartType expectedLub) {
|
| DartType lub = env.computeLeastUpperBound(a, b);
|
|
|