diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | iseq.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Tue Dec 8 23:04:02 2015 Koichi Sasada <ko1@atdot.net> + + * iseq.c (iseq_s_load): fix mysterious bug. + Tue Dec 8 22:31:58 2015 Koichi Sasada <ko1@atdot.net> * introduce new ISeq binary format serializer/de-serializer @@ -587,7 +587,7 @@ static VALUE iseq_s_load(int argc, VALUE *argv, VALUE self) { VALUE data, opt=Qnil; - rb_scan_args(argc, argv, "01", &opt); + rb_scan_args(argc, argv, "11", &data, &opt); return iseq_load(data, NULL, opt); } |