Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit f0f113ef0edcf7a396053308d6352ee2ded7a7f3 1 parent 8d97a8e
@matz matz authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/string.c
View
5 src/string.c
@@ -379,7 +379,10 @@ mrb_str_plus(mrb_state *mrb, mrb_value a, mrb_value b)
static mrb_value
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);
}
/*
Please sign in to comment.
Something went wrong with that request. Please try again.