| Index: tests/compiler/dart2js/simple_inferrer_try_catch_test.dart
|
| ===================================================================
|
| --- tests/compiler/dart2js/simple_inferrer_try_catch_test.dart (revision 23010)
|
| +++ tests/compiler/dart2js/simple_inferrer_try_catch_test.dart (working copy)
|
| @@ -161,7 +161,8 @@
|
|
|
| checkReturn(String name, type) {
|
| var element = findElement(compiler, name);
|
| - Expect.equals(type, typesInferrer.internal.returnTypeOf[element]);
|
| + Expect.equals(type,
|
| + typesInferrer.internal.returnTypeOf[element].simplify(compiler));
|
| }
|
|
|
| checkReturn('returnInt1', typesInferrer.intType);
|
|
|