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 3cb01a0c1847ab020c742e1e77a68818ecf682b5..16bf8980eb42e8e892560a2b69429cb34930bcdf 100644 |
--- a/tests/compiler/dart2js/type_mask_test.dart |
+++ b/tests/compiler/dart2js/type_mask_test.dart |
@@ -21,7 +21,8 @@ main() { |
main() { |
Uri uri = new Uri(scheme: 'source'); |
var compiler = compilerFor(CODE, uri); |
- var closedWorld = compiler.openWorld.closeWorld(compiler.reporter); |
+ compiler.closeResolution(); |
+ var closedWorld = compiler.closedWorld; |
asyncTest(() => compiler.run(uri).then((_) { |
var classA = findElement(compiler, 'A'); |