Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index 7456c291e470acbd5caa87b4513524eb11057d5b..287e734278b7e75450bd8c0223ef13e5af3ce6ad 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -157,7 +157,7 @@ class MockCompiler extends Compiler { |
// dynamic invocation the ArgumentTypesRegistry eventually iterates over |
// the interfaces of the Object class which would be 'null' if the class |
// wasn't resolved. |
- objectClass.ensureResolved(resolution); |
+ coreClasses.objectClass.ensureResolved(resolution); |
}).then((_) => uri); |
} |