Unable for the `MRB_TT_CPTR` object to have a singleton class
This object is treated as an immediate value.
MODIFY
src/class.c
src/class.c
@@ -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

Unable for the `MRB_TT_CPTR` object to have a singleton class

This object is treated as an immediate value.