Index: tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
index 46b4e83c375da36d0a6c7975a0a04f9b26848975..50d6f2a00f44c32552a306fe2c8f4fc527dd39b6 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_const_closure5_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure5_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 = """ |
@@ -36,7 +37,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); |
} |