Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(404)

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 11184042: Add comment to mock-compiler. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698