vm.c: change the default error message for undefined super method.

- (old) `undefined method 'foo'`
- (new) `no superclass method 'foo'`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-04-01 08:42:30 +09:00
parent d5a4d5e393
commit bda242a135
3 changed files with 9 additions and 4 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ mrb_method_missing(mrb_state *mrb, mrb_sym name, mrb_value self, mrb_value args)
* r.xxiii #=> 23
* r.mm #=> 2000
*/
static mrb_value
mrb_value
mrb_obj_missing(mrb_state *mrb, mrb_value mod)
{
mrb_sym name;