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); |