mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
class.c (mrb_method_missing): add receiver's class to clarify
We needed to modify a lot of test code that expected the old style.
This commit is contained in:
+1
-1
@@ -2844,7 +2844,7 @@ mrb_value mrb_obj_id_m(mrb_state *mrb, mrb_value self);
|
||||
mrb_noreturn void
|
||||
mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args)
|
||||
{
|
||||
mrb_no_method_error(mrb, name, args, "undefined method '%n'", name);
|
||||
mrb_no_method_error(mrb, name, args, "undefined method '%n' for %T", name, self);
|
||||
}
|
||||
|
||||
/* 15.3.1.3.30 */
|
||||
|
||||
Reference in New Issue
Block a user