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 67389f474831e0e87083b2040cf7715569b0ebc7..8c251897ecf93ab8583e7c748560a52685047d95 100644 |
--- a/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart |
+++ b/tests/compiler/dart2js/deferred_follow_implicit_super_regression_test.dart |
@@ -18,7 +18,7 @@ void main() { |
return compiler.libraryLoader.lookupLibrary(Uri.parse(name)); |
} |
- var main = compiler.mainFunction; |
+ var main = compiler.frontendStrategy.elementEnvironment.mainFunction; |
Expect.isNotNull(main, "Could not find 'main'"); |
compiler.deferredLoadTask.onResolutionComplete( |
main, compiler.resolutionWorldBuilder.closedWorldForTesting); |