diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-26 14:51:00 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2019-08-27 15:52:26 +0900 |
commit | 5c7c2d9951f2512ca10ea38fecc48d8ac67502e6 (patch) | |
tree | a6a317a81bb40854ebd7dd50cf6d001f7a444fe1 /io.c | |
parent | 3cae73133cfec7d5ec3f8058ec647d5163578003 (diff) |
rb_rescue / rb_rescue2 now free from ANYARGS
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is
dangerous and should be extinct. This commit deletes ANYARGS from
rb_rescue / rb_rescue2, which revealed many arity / type mismatches.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11457,7 +11457,7 @@ copy_stream_fallback(struct copy_stream_struct *stp) rb_raise(rb_eArgError, "cannot specify src_offset for non-IO"); } rb_rescue2(copy_stream_fallback_body, (VALUE)stp, - (VALUE (*) (ANYARGS))0, (VALUE)0, + (VALUE (*) (VALUE, VALUE))0, (VALUE)0, rb_eEOFError, (VALUE)0); return Qnil; } |