Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index 2313a19943c35991f79b51c5c4145bca8520496b..e356b4123bfad55fd3fe2501ffa973a123fe009a 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -145,6 +145,7 @@ class MockCompiler extends Compiler { |
registerSource(uri, mainSource); |
return libraryLoader.loadLibrary(uri).then((LibraryElement library) { |
mainApp = library; |
+ startResolution(); |
// We need to make sure the Object class is resolved. When registering a |
// dynamic invocation the ArgumentTypesRegistry eventually iterates over |
// the interfaces of the Object class which would be 'null' if the class |