Commit f0f113ef authored by Yukihiro Matsumoto's avatar Yukihiro Matsumoto

should define String#+ (non inlined); close #469

parent 8d97a8e0
...@@ -379,7 +379,10 @@ mrb_str_plus(mrb_state *mrb, mrb_value a, mrb_value b) ...@@ -379,7 +379,10 @@ mrb_str_plus(mrb_state *mrb, mrb_value a, mrb_value b)
static mrb_value static mrb_value
mrb_str_plus_m(mrb_state *mrb, mrb_value self) mrb_str_plus_m(mrb_state *mrb, mrb_value self)
{ {
return mrb_nil_value(); mrb_value str;
mrb_get_args(mrb, "S", &str);
return mrb_str_plus(mrb, self, str);
} }
/* /*
......
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