Index: tests/compiler/dart2js/patch_test.dart |
diff --git a/tests/compiler/dart2js/patch_test.dart b/tests/compiler/dart2js/patch_test.dart |
index f7b34ddbb2176a79e873dddd0a707a91b3a26cea..95ee5c31d8a6946b301f1eed813765d6c975a18f 100644 |
--- a/tests/compiler/dart2js/patch_test.dart |
+++ b/tests/compiler/dart2js/patch_test.dart |
@@ -200,7 +200,7 @@ Future testPatchVersioned() async { |
Expect.equals(patchText, patch.node.toString()); |
} |
- compiler.analyzeElement(origin); |
+ compiler.resolution.computeWorldImpact(origin); |
compiler.enqueuer.resolution.emptyDeferredQueueForTesting(); |
DiagnosticCollector collector = compiler.diagnosticCollector; |