Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index 4277cd4082e0ef4e57dc597025fb0848eba635d0..523f8251abbe509120be2481fc246c6f8ccf9738 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -974,7 +974,7 @@ Future testPatchAndSelector() async { |
runCompiler: true, |
analyzeOnly: true); |
compiler.closeResolution(); |
- ClosedWorld world = compiler.closedWorld; |
+ ClosedWorld world = compiler.resolverWorld.closedWorldForTesting; |
ClassElement cls = ensure( |
compiler, "A", compiler.commonElements.coreLibrary.find, |