Index: tests/compiler/dart2js/type_mask_test_helper.dart |
diff --git a/tests/compiler/dart2js/type_mask_test_helper.dart b/tests/compiler/dart2js/type_mask_test_helper.dart |
index e27c4630a12670839b74399db6aa98ab2dde7635..74e34544671894098ff0e012f7725b62c2e09438 100644 |
--- a/tests/compiler/dart2js/type_mask_test_helper.dart |
+++ b/tests/compiler/dart2js/type_mask_test_helper.dart |
@@ -12,7 +12,7 @@ TypeMask simplify(TypeMask mask, Compiler compiler) { |
if (mask is ForwardingTypeMask) { |
return simplify(mask.forwardTo, compiler); |
} else if (mask is UnionTypeMask) { |
- return UnionTypeMask.flatten(mask.disjointMasks, compiler.world); |
+ return UnionTypeMask.flatten(mask.disjointMasks, compiler.closedWorld); |
} else { |
return mask; |
} |