| Index: tests/compiler/dart2js/call_site_type_inferer_static_test.dart
|
| ===================================================================
|
| --- tests/compiler/dart2js/call_site_type_inferer_static_test.dart (revision 23010)
|
| +++ tests/compiler/dart2js/call_site_type_inferer_static_test.dart (working copy)
|
| @@ -84,8 +84,9 @@
|
| HTypeList types = compiler.backend.optimisticParameterTypes(x, null);
|
| if (expectedTypes != null) {
|
| Expect.isFalse(types.allUnknown);
|
| - Expect.listEquals(expectedTypes.map((f) => f(compiler)).toList(),
|
| - types.types);
|
| + Expect.listEquals(
|
| + expectedTypes.map((f) => f(compiler)).toList(),
|
| + types.types.map((e) => e.simplify(compiler)).toList());
|
| } else {
|
| Expect.isTrue(types.allUnknown);
|
| }
|
|
|