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

Unified Diff: frog/type.dart

Issue 8540030: Fix dispatch on MemberSets to always go dynamic if needed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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
Index: frog/type.dart
diff --git a/frog/type.dart b/frog/type.dart
index def626d6d416f19015c7cc21f942b0e628331d41..0b2ca65a71b0b988fbd5aeb874ab7221acaff877 100644
--- a/frog/type.dart
+++ b/frog/type.dart
@@ -840,6 +840,7 @@ class DefinedType extends Type {
if (!isObject) {
// Object is the default parent for everthing except Object.
parent = world.objectType;
+ parent.addDirectSubtype(this);
}
}
this.interfaces = _resolveInterfaces(typeDef.implementsTypes);
« frog/member.dart ('K') | « frog/member.dart ('k') | frog/var_member.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698