Commit 7f9b4e05 authored by dearblue's avatar dearblue

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

This object is treated as an immediate value.
parent eb52c29b
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment