Chromium Code Reviews| Index: tests/compiler/dart2js/mock_compiler.dart |
| diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
| index 7d0b8326781a8095890ce46ed37ae0084a480120..5005af6c4274cf904440a34f70d4456f2c65ae94 100644 |
| --- a/tests/compiler/dart2js/mock_compiler.dart |
| +++ b/tests/compiler/dart2js/mock_compiler.dart |
| @@ -96,6 +96,10 @@ class MockCompiler extends Compiler { |
| mainApp = mockLibrary(this, ""); |
| initializeSpecialClasses(); |
| + // We need to make sure the Object class is resolved. When registering a |
| + // dynamic invocation the ArgumentTypesRegistry eventually iterates over |
|
ahe
2012/10/18 16:42:30
In that case, the ArgumentTypesRegistry registry s
floitsch
2012/10/18 17:16:50
Should I file a bug?
ahe
2012/10/22 16:50:08
Yes, that would be great!
|
| + // the interfaces of the Object class which would be 'null' if the class |
| + // wasn't resolved. |
| objectClass.ensureResolved(this); |
| } |