Merge pull request #12647 from leezh/dedent_return

Fixed dedent() binding did not return result
This commit is contained in:
Poommetee Ketson 2017-11-05 08:10:24 +07:00 committed by GitHub
commit f7a41c1e30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1458,7 +1458,7 @@ void register_variant_methods() {
ADDFUNC0R(STRING, STRING, String, get_basename, varray());
ADDFUNC1R(STRING, STRING, String, plus_file, STRING, "file", varray());
ADDFUNC1R(STRING, INT, String, ord_at, INT, "at", varray());
ADDFUNC0(STRING, STRING, String, dedent, varray());
ADDFUNC0R(STRING, STRING, String, dedent, varray());
ADDFUNC2(STRING, NIL, String, erase, INT, "position", INT, "chars", varray());
ADDFUNC0R(STRING, INT, String, hash, varray());
ADDFUNC0R(STRING, STRING, String, md5_text, varray());