diff options
Diffstat (limited to 'src/kernel.c')
| -rw-r--r-- | src/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c index 87a24061e..17951afc7 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -958,10 +958,10 @@ class_instance_method_list(mrb_state *mrb, int argc, mrb_value *argv, struct RCl } else { mrb_value r; + mrb_get_args(mrb, "o", &r); recur = mrb_test(r); } - ary = mrb_ary_new(mrb); oldklass = 0; while (klass && (klass != oldklass)) { |
