Index: tests/compiler/dart2js/related_types.dart |
diff --git a/tests/compiler/dart2js/related_types.dart b/tests/compiler/dart2js/related_types.dart |
index a2516f7453ffa58528bf5bc499cfd5e7874ee970..af65613fab7fa0c823ed85e173c602d4cbf91c3c 100644 |
--- a/tests/compiler/dart2js/related_types.dart |
+++ b/tests/compiler/dart2js/related_types.dart |
@@ -35,7 +35,8 @@ main(List<String> arguments) async { |
/// Check all loaded libraries in [compiler] for unrelated types. |
void checkRelatedTypes(Compiler compiler) { |
- compiler.openWorld.closeWorld(compiler.reporter); |
+ compiler.closeResolution(); |
+ compiler.closedWorld; |
for (LibraryElement library in compiler.libraryLoader.libraries) { |
checkLibraryElement(compiler, library); |
} |