should set argc at proper position; close #1264

parent 97a11305
......@@ -169,7 +169,7 @@ fiber_resume(mrb_state *mrb, mrb_value self)
while (b<e) {
*b++ = *a++;
}
c->ci->argc = len;
c->cibase->argc = len;
c->prev = mrb->c;
c->status = MRB_FIBER_RUNNING;
mrb->c = c;
......
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