Index: tests/compiler/dart2js/no_such_method_enabled_test.dart |
diff --git a/tests/compiler/dart2js/no_such_method_enabled_test.dart b/tests/compiler/dart2js/no_such_method_enabled_test.dart |
index 713271cec1f8df55061574be2054996fc1ea1782..286635d19cdec8a3b0720dc6758e84e321fa0b8b 100644 |
--- a/tests/compiler/dart2js/no_such_method_enabled_test.dart |
+++ b/tests/compiler/dart2js/no_such_method_enabled_test.dart |
@@ -268,11 +268,12 @@ main() { |
} |
checkTest(Compiler compiler, NoSuchMethodTest test, {bool testComplexReturns}) { |
- ElementEnvironment elementEnvironment = compiler.elementEnvironment; |
+ ElementEnvironment elementEnvironment = |
+ compiler.frontendStrategy.elementEnvironment; |
NoSuchMethodRegistry registry = compiler.backend.noSuchMethodRegistry; |
NoSuchMethodResolver resolver = registry.internalResolverForTesting; |
FunctionEntity ObjectNSM = elementEnvironment.lookupClassMember( |
- compiler.resolution.commonElements.objectClass, 'noSuchMethod'); |
+ compiler.frontendStrategy.commonElements.objectClass, 'noSuchMethod'); |
ClosedWorld closedWorld = |
compiler.resolutionWorldBuilder.closedWorldForTesting; |