Index: tests/compiler/dart2js/expect_annotations_test.dart |
diff --git a/tests/compiler/dart2js/expect_annotations_test.dart b/tests/compiler/dart2js/expect_annotations_test.dart |
index 6399e5242a28c761357c8b233f115d2562f7606d..e8b5e185892cf27130d39653d8017ecb103f9e88 100644 |
--- a/tests/compiler/dart2js/expect_annotations_test.dart |
+++ b/tests/compiler/dart2js/expect_annotations_test.dart |
@@ -52,7 +52,7 @@ main() { |
CompilationResult result = |
await runCompiler(memorySourceFiles: MEMORY_SOURCE_FILES); |
Compiler compiler = result.compiler; |
- ClosedWorld closedWorld = compiler.closedWorld; |
+ ClosedWorld closedWorld = compiler.resolverWorld.closedWorldForTesting; |
Expect.isFalse(compiler.compilationFailed, 'Unsuccessful compilation'); |
JavaScriptBackend backend = compiler.backend; |
Expect.isNotNull(backend.annotations.expectNoInlineClass, |