Index: tests/compiler/dart2js/type_mask_test.dart |
diff --git a/tests/compiler/dart2js/type_mask_test.dart b/tests/compiler/dart2js/type_mask_test.dart |
index 46075a8da3ec6e0863505fd80e537ae2ddb52fd7..00508d130723a2bb4c369a096de35b31b9ede996 100644 |
--- a/tests/compiler/dart2js/type_mask_test.dart |
+++ b/tests/compiler/dart2js/type_mask_test.dart |
@@ -21,7 +21,7 @@ main() { |
main() { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(CODE, uri); |
- var classWorld = compiler.closedWorld; |
+ var classWorld = compiler.openWorld.closeWorld(); |
asyncTest(() => compiler.run(uri).then((_) { |
var classA = findElement(compiler, 'A'); |