Index: tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart b/tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart |
index 0b9510e95476a4f7b43b8673a539a1468f50ad7e..2d673f159d68071d2a5103cf4285962a1d39a941 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_global_field_closure2_test.dart |
@@ -5,6 +5,7 @@ |
import 'package:expect/expect.dart'; |
import "package:async_helper/async_helper.dart"; |
import 'compiler_helper.dart'; |
+import 'type_mask_test_helper.dart'; |
const String TEST = """ |
@@ -35,7 +36,7 @@ void main() { |
var signature = functionElement.functionSignature; |
var element = signature.requiredParameters.first; |
Expect.equals(type, |
- typesInferrer.getTypeOfElement(element).simplify(compiler), |
+ simplify(typesInferrer.getTypeOfElement(element), compiler), |
functionName); |
} |