Commit 7009a1d8 authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

should not disclose metaclass; close #238

parent e4529c06
......@@ -824,7 +824,7 @@ mrb_class_superclass(mrb_state *mrb, mrb_value klass)
{
struct RClass *c, *s;
c = mrb_class_ptr(klass);
s = c->super;
s = mrb_class_real(c->super);
return mrb_obj_value(s);
}
......
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