restore mrb_get_args() in f_instance_eval to check arguments type

parent 7457da6a
......@@ -196,6 +196,7 @@ f_instance_eval(mrb_state *mrb, mrb_value self)
return mrb_run(mrb, create_proc_from_string(mrb, s, len, mrb_nil_value(), file, line), self);
}
else {
mrb_get_args(mrb, "&", &b);
return mrb_obj_instance_eval(mrb, self);
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment