| Index: tests/compiler/dart2js/type_checker_test.dart
|
| diff --git a/tests/compiler/dart2js/type_checker_test.dart b/tests/compiler/dart2js/type_checker_test.dart
|
| index 1d5b31f1e5e9d76266e184468cad1e3bcd2d3806..2ca45f7aa87ccd1d29d479c74be613e690864e48 100644
|
| --- a/tests/compiler/dart2js/type_checker_test.dart
|
| +++ b/tests/compiler/dart2js/type_checker_test.dart
|
| @@ -353,10 +353,10 @@ testThis() {
|
|
|
| testFunctionSubtyping() {
|
| // Checks that the type (in1 -> out1) is a subtype of (in2 -> out2).
|
| - bool isSubtype(List<Type> in1, Type out1, List<Type> in2, Type out2) {
|
| + bool isSubtype(List<DartType> in1, Type out1, List<Type> in2, Type out2) {
|
| return compiler.types.isSubtype(
|
| - new FunctionType(out1, new Link<Type>.fromList(in1), null),
|
| - new FunctionType(out2, new Link<Type>.fromList(in2), null));
|
| + new FunctionType(out1, new Link<DartType>.fromList(in1), null),
|
| + new FunctionType(out2, new Link<DartType>.fromList(in2), null));
|
| }
|
| Expect.isTrue(isSubtype([], intType, [], intType));
|
| Expect.isTrue(isSubtype([], intType, [], objectType));
|
|
|