Index: tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart |
index 36c988d3a76edc03f4da7140ef2e2d1b1ff66ab1..9a2fb7cd1b876059739e6678814dcb4276d93883 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_const_closure4_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure4_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); |
} |