Index: tests/compiler/dart2js/simple_inferrer_try_catch_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart b/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart |
index 331f76af476a7c6bfcc0b21e8dd46f69cff3ed44..10aedf97b5e78ba209c7fffb21c55fa7c6d15db5 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_try_catch_test.dart |
@@ -8,6 +8,7 @@ import '../../../sdk/lib/_internal/compiler/implementation/types/types.dart' |
show TypeMask; |
import 'compiler_helper.dart'; |
+import 'type_mask_test_helper.dart'; |
const String TEST = """ |
returnInt1() { |
@@ -174,7 +175,7 @@ void main() { |
checkReturn(String name, type) { |
var element = findElement(compiler, name); |
Expect.equals(type, |
- typesInferrer.getReturnTypeOfElement(element).simplify(compiler)); |
+ simplify(typesInferrer.getReturnTypeOfElement(element), compiler)); |
} |
checkReturn('returnInt1', typesTask.uint31Type); |