1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 05:50:26 +02:00

* eval.c (SCM_APPLY): Check that arg1 is bound for scm_tc7_cxr.

This commit is contained in:
Marius Vollmer 2001-03-29 22:38:00 +00:00
parent 999010b63d
commit 90cd76d9d8

View file

@ -3399,7 +3399,7 @@ tail:
SCM_ASRTGO (SCM_NULLP (args), wrongnumargs);
RETURN (SCM_SUBRF (proc) (arg1))
case scm_tc7_cxr:
SCM_ASRTGO (SCM_NULLP (args), wrongnumargs);
SCM_ASRTGO (!SCM_UNBNDP (arg1) && SCM_NULLP (args), wrongnumargs);
if (SCM_SUBRF (proc))
{
if (SCM_INUMP (arg1))