Make _name a class constant
@@ -74,7 +74,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));
- tableSet(vm, &klass->publicProperties, nameString, OBJ_VAL(name));
+ tableSet(vm, &klass->publicConstantProperties, nameString, OBJ_VAL(name));
pop(vm);
pop(vm);
