Index: tests/compiler/dart2js/issue13354_test.dart |
diff --git a/tests/compiler/dart2js/issue13354_test.dart b/tests/compiler/dart2js/issue13354_test.dart |
index 7cc2f5502cc4a4e0aedbc02e3e7c267b9f11b541..6a381305668cc299149b172f193580c8963e3202 100644 |
--- a/tests/compiler/dart2js/issue13354_test.dart |
+++ b/tests/compiler/dart2js/issue13354_test.dart |
@@ -6,6 +6,7 @@ import 'package:expect/expect.dart'; |
import "package:async_helper/async_helper.dart"; |
import 'compiler_helper.dart'; |
import 'parser_helper.dart'; |
+import 'type_mask_test_helper.dart'; |
const String TEST = """ |
bar() => 42; |
@@ -36,7 +37,7 @@ void main() { |
var element = findElement(compiler, name); |
Expect.equals( |
type, |
- typesInferrer.getReturnTypeOfElement(element).simplify(compiler), |
+ simplify(typesInferrer.getReturnTypeOfElement(element), compiler), |
name); |
} |
@@ -44,7 +45,7 @@ void main() { |
var cls = findElement(compiler, className); |
var element = cls.lookupLocalMember(methodName); |
Expect.equals(type, |
- typesInferrer.getReturnTypeOfElement(element).simplify(compiler)); |
+ simplify(typesInferrer.getReturnTypeOfElement(element), compiler)); |
} |
checkReturn('bar', typesTask.uint31Type); |