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 f8af6052d8ec348355d2abc2d21084cce93f212b..83e1de3523183743129a96774df99821992bceba 100644 |
--- a/tests/compiler/dart2js/expect_annotations_test.dart |
+++ b/tests/compiler/dart2js/expect_annotations_test.dart |
@@ -56,11 +56,11 @@ main() { |
compiler.resolutionWorldBuilder.closedWorldForTesting; |
Expect.isFalse(compiler.compilationFailed, 'Unsuccessful compilation'); |
JavaScriptBackend backend = compiler.backend; |
- Expect.isNotNull(compiler.commonElements.expectNoInlineClass, |
+ Expect.isNotNull(closedWorld.commonElements.expectNoInlineClass, |
'NoInlineClass is unresolved.'); |
- Expect.isNotNull(compiler.commonElements.expectTrustTypeAnnotationsClass, |
+ Expect.isNotNull(closedWorld.commonElements.expectTrustTypeAnnotationsClass, |
'TrustTypeAnnotations is unresolved.'); |
- Expect.isNotNull(compiler.commonElements.expectAssumeDynamicClass, |
+ Expect.isNotNull(closedWorld.commonElements.expectAssumeDynamicClass, |
'AssumeDynamicClass is unresolved.'); |
void testTypeMatch(FunctionElement function, TypeMask expectedParameterType, |