apply is broken with arg_list is nil
This commit is contained in:
parent
9f21c8d7b1
commit
613f692c09
|
@ -102,7 +102,7 @@ pic_proc_apply(pic_state *pic)
|
||||||
arg_list = pic_cons(pic, args[argc], arg_list);
|
arg_list = pic_cons(pic, args[argc], arg_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
*pic->ci->fp++ = pic_obj_value(proc);
|
arg_list = pic_cons(pic, pic_obj_value(proc), arg_list);
|
||||||
pic_for_each (v, arg_list) {
|
pic_for_each (v, arg_list) {
|
||||||
*pic->ci->fp++ = v;
|
*pic->ci->fp++ = v;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue