Index: tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart |
diff --git a/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart b/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart |
index 6a66b7fc41984e55a2c01c4d2910d0660a0cc636..b0839583735051063c6ab79a8588f35e487c6517 100644 |
--- a/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart |
+++ b/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart |
@@ -19,7 +19,7 @@ void main() { |
return compiler.libraryLoader.lookupLibrary(Uri.parse(name)); |
} |
- var main = compiler.mainApp.find(dart2js.Compiler.MAIN); |
+ var main = compiler.mainFunction; |
Expect.isNotNull(main, "Could not find 'main'"); |
compiler.deferredLoadTask.onResolutionComplete(main); |