Index: tests/compiler/dart2js/related_types_test.dart |
diff --git a/tests/compiler/dart2js/related_types_test.dart b/tests/compiler/dart2js/related_types_test.dart |
index 6711fb2f24f23abd5d215a488c1a6100e63c05b9..e256ac8596d735a7e7ee2a5024e3e429d81cc59b 100644 |
--- a/tests/compiler/dart2js/related_types_test.dart |
+++ b/tests/compiler/dart2js/related_types_test.dart |
@@ -267,7 +267,7 @@ main(List<String> arguments) { |
Expect.isFalse( |
collector.hasRegularMessages, "Unexpected analysis messages."); |
Compiler compiler = result.compiler; |
- compiler.openWorld.closeWorld(compiler.reporter); |
+ compiler.closeResolution(); |
void checkMember(MemberElement member) { |
if (!member.name.startsWith('test_')) return; |