Merge pull request #5160 from dearblue/cptr-obj

Unable for the `MRB_TT_CPTR` object to have a singleton class
This commit is contained in:
Yukihiro "Matz" Matsumoto
2020-11-21 15:50:03 +09:00
committed by GitHub
-1
View File
@@ -1569,7 +1569,6 @@ mrb_singleton_class_ptr(mrb_state *mrb, mrb_value v)
case MRB_TT_TRUE:
return mrb->true_class;
case MRB_TT_CPTR:
return mrb->object_class;
case MRB_TT_SYMBOL:
case MRB_TT_INTEGER:
#ifndef MRB_NO_FLOAT