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 fef7e738b5e7cc270f9152fbe1e4001633fdb27d..713271cec1f8df55061574be2054996fc1ea1782 100644 |
--- a/tests/compiler/dart2js/no_such_method_enabled_test.dart |
+++ b/tests/compiler/dart2js/no_such_method_enabled_test.dart |
@@ -272,7 +272,7 @@ checkTest(Compiler compiler, NoSuchMethodTest test, {bool testComplexReturns}) { |
NoSuchMethodRegistry registry = compiler.backend.noSuchMethodRegistry; |
NoSuchMethodResolver resolver = registry.internalResolverForTesting; |
FunctionEntity ObjectNSM = elementEnvironment.lookupClassMember( |
- compiler.commonElements.objectClass, 'noSuchMethod'); |
+ compiler.resolution.commonElements.objectClass, 'noSuchMethod'); |
ClosedWorld closedWorld = |
compiler.resolutionWorldBuilder.closedWorldForTesting; |