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