Index: tests/compiler/dart2js/simple_inferrer_const_closure3_test.dart |
diff --git a/tests/compiler/dart2js/simple_inferrer_const_closure3_test.dart b/tests/compiler/dart2js/simple_inferrer_const_closure3_test.dart |
index 184229ae767dfb70c5616e52f1e9fb5d914a9ed7..8e1ef622e82df928f7e6b8f1704c8348a0ad3abe 100644 |
--- a/tests/compiler/dart2js/simple_inferrer_const_closure3_test.dart |
+++ b/tests/compiler/dart2js/simple_inferrer_const_closure3_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); |
} |