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:
Yukihiro "Matz" Matsumoto
2024-11-12 06:37:03 +09:00
parent 13acf12df5
commit 65e0e5bbd3
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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 */