class of TT_VOIDP should be Object

This commit is contained in:
Yukihiro Matz Matsumoto
2012-12-13 00:50:02 +09:00
parent fd12f87712
commit 1207e245ea
+1
View File
@@ -888,6 +888,7 @@ mrb_singleton_class(mrb_state *mrb, mrb_value v)
case MRB_TT_TRUE:
return mrb_obj_value(mrb->true_class);
case MRB_TT_MAIN:
case MRB_TT_VOIDP:
return mrb_obj_value(mrb->object_class);
case MRB_TT_SYMBOL:
case MRB_TT_FIXNUM: