Index: tests/compiler/dart2js/type_combination_test.dart |
diff --git a/tests/compiler/dart2js/type_combination_test.dart b/tests/compiler/dart2js/type_combination_test.dart |
index ada744d453662bb006330e087a8ed263201f46dc..a6d9f8caf382c2060fbe4b61d36a53cd7168ed06 100644 |
--- a/tests/compiler/dart2js/type_combination_test.dart |
+++ b/tests/compiler/dart2js/type_combination_test.dart |
@@ -7,6 +7,7 @@ import "compiler_helper.dart"; |
import "parser_helper.dart"; |
import "../../../sdk/lib/_internal/compiler/implementation/ssa/ssa.dart"; |
import "../../../sdk/lib/_internal/compiler/implementation/types/types.dart"; |
+import "type_mask_test_helper.dart"; |
TypeMask nullType; |
TypeMask objectType; |
@@ -97,7 +98,7 @@ class RuleSet { |
void testUnion(MockCompiler compiler) { |
RuleSet ruleSet = new RuleSet('union', |
- (t1, t2) => t1.union(t2, compiler).simplify(compiler)); |
+ (t1, t2) => simplify(t1.union(t2, compiler), compiler)); |
rule(type1, type2, result) => ruleSet.rule(type1, type2, result); |
check(type1, type2, predicate) => ruleSet.check(type1, type2, predicate); |