Merge pull request #1247 from carsonmcdonald/issue1246fix

Print mrb_value instead of RClass*
This commit is contained in:
Yukihiro "Matz" Matsumoto
2013-05-09 06:14:40 -07:00
+1 -1
View File
@@ -697,7 +697,7 @@ mrb_mod_cv_get(mrb_state *mrb, struct RClass * c, mrb_sym sym)
c = c->super;
}
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 */
return mrb_nil_value();
}