Push the correct value to stack to avoid GC
@@ -73,7 +73,7 @@ ObjClass *newClass(DictuVM *vm, ObjString *name, ObjClass *superclass, ClassType
push(vm, OBJ_VAL(klass));
ObjString *nameString = copyString(vm, "_name", 5);
- push(vm, OBJ_VAL(name));
+ push(vm, OBJ_VAL(nameString));
tableSet(vm, &klass->publicConstantProperties, nameString, OBJ_VAL(name));
pop(vm);
pop(vm);
