mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Print mrb_value instead of RClass*
This commit is contained in:
+1
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user