mark objects without kind as 'undefined'
authorMatthias Kramm <kramm@quiss.org>
Wed, 11 Feb 2009 17:30:29 +0000 (18:30 +0100)
committerMatthias Kramm <kramm@quiss.org>
Wed, 11 Feb 2009 17:30:29 +0000 (18:30 +0100)
lib/as3/registry.c

index d3b84b6..18b0992 100644 (file)
@@ -235,6 +235,9 @@ classinfo_t* slotinfo_asclass(slotinfo_t*f) {
         c->name = "Class";
     else if(f->kind == INFOTYPE_SLOT)
         c->name = "Object";
+    else {
+        c->name = "undefined";
+    }
     
     dict_init(&c->members,1);
     c->data = f;