Commit 697b0992 authored by Carson McDonald's avatar Carson McDonald

Print mrb_value instead of RClass*

parent 14bd8cef
...@@ -697,7 +697,7 @@ mrb_mod_cv_get(mrb_state *mrb, struct RClass * c, mrb_sym sym) ...@@ -697,7 +697,7 @@ mrb_mod_cv_get(mrb_state *mrb, struct RClass * c, mrb_sym sym)
c = c->super; c = c->super;
} }
mrb_name_error(mrb, sym, "uninitialized class variable %S in %S", mrb_name_error(mrb, sym, "uninitialized class variable %S in %S",
mrb_sym2str(mrb, sym), cls); mrb_sym2str(mrb, sym), mrb_obj_value(cls));
/* not reached */ /* not reached */
return mrb_nil_value(); return mrb_nil_value();
} }
......
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