| Index: tests/compiler/dart2js/dictionary_types_test.dart
|
| diff --git a/tests/compiler/dart2js/dictionary_types_test.dart b/tests/compiler/dart2js/dictionary_types_test.dart
|
| index ff37cab50c6dcd784b21ae97133b33f97f5ca3a9..1c50039830d23dfea1732d7412a093d2576da6f1 100644
|
| --- a/tests/compiler/dart2js/dictionary_types_test.dart
|
| +++ b/tests/compiler/dart2js/dictionary_types_test.dart
|
| @@ -151,7 +151,7 @@ compileAndTest(source, checker, {createCode: false}) async {
|
| if (!createCode) {
|
| checker(commonMasks, getType, closedWorld);
|
| } else {
|
| - var element = compiler.mainFunction;
|
| + var element = compiler.frontendStrategy.elementEnvironment.mainFunction;
|
| var code = compiler.backend.getGeneratedCode(element);
|
| checker(code);
|
| }
|
|
|