@@ -1691,9 +1691,8 @@ static bool class_exec (gravity_vm *vm, gravity_value_t *args, uint16_t nargs, u
mem_free(c->superlook);
c->superlook = NULL;
c->superclass = super;
- }
-
- if (c->superclass) {
+
+ // force superclass initialization
STATICVALUE_FROM_STRING(key, GRAVITY_INTERNAL_EXEC_NAME, strlen(GRAVITY_INTERNAL_EXEC_NAME));
gravity_closure_t *super_closure = gravity_class_lookup_closure(gravity_class_get_meta(c->superclass), key);
if (super_closure) RETURN_CLOSURE(VALUE_FROM_OBJECT(super_closure), rindex);
@@ -66,8 +66,8 @@
extern "C" {
#endif
-#define GRAVITY_VERSION "0.8.3" // git tag 0.8.3
-#define GRAVITY_VERSION_NUMBER 0x000803 // git push --tags
+#define GRAVITY_VERSION "0.8.4" // git tag 0.8.4
+#define GRAVITY_VERSION_NUMBER 0x000804 // git push --tags
#define GRAVITY_BUILD_DATE __DATE__
#ifndef GRAVITY_ENABLE_DOUBLE