| Index: tests/compiler/dart2js/deferred_mirrors_test.dart
|
| diff --git a/tests/compiler/dart2js/deferred_mirrors_test.dart b/tests/compiler/dart2js/deferred_mirrors_test.dart
|
| index dc55bbf4c633df825f5a753a02d4384bc829a5cf..d48550cc44f4900e3ed9d1c3b96da225ace2fc94 100644
|
| --- a/tests/compiler/dart2js/deferred_mirrors_test.dart
|
| +++ b/tests/compiler/dart2js/deferred_mirrors_test.dart
|
| @@ -30,7 +30,7 @@ void main() {
|
|
|
| runTests() async {
|
| await runTest('memory:main.dart', (compiler) {
|
| - var main = compiler.mainApp.find(dart2js.Compiler.MAIN);
|
| + var main = compiler.mainFunction;
|
| Expect.isNotNull(main, "Could not find 'main'");
|
| compiler.deferredLoadTask.onResolutionComplete(main);
|
| var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
|
| @@ -53,7 +53,7 @@ runTests() async {
|
| Expect.isTrue(true);
|
| });
|
| await runTest('memory:main3.dart', (compiler) {
|
| - var main = compiler.mainApp.find(dart2js.Compiler.MAIN);
|
| + var main = compiler.mainFunction;
|
| Expect.isNotNull(main, "Could not find 'main'");
|
| compiler.deferredLoadTask.onResolutionComplete(main);
|
| var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
|
| @@ -68,7 +68,7 @@ runTests() async {
|
| Expect.equals(outputUnitForElement(main), outputUnitForElement(C));
|
| });
|
| await runTest('memory:main4.dart', (compiler) {
|
| - var main = compiler.mainApp.find(dart2js.Compiler.MAIN);
|
| + var main = compiler.mainFunction;
|
| Expect.isNotNull(main, "Could not find 'main'");
|
| compiler.deferredLoadTask.onResolutionComplete(main);
|
| var outputUnitForElement = compiler.deferredLoadTask.outputUnitForElement;
|
|
|