--- yap-6.0.3.orig/C/index.c 2010-03-16 03:45:20.000000000 +1300 +++ yap-6.0.3/C/index.c 2010-04-10 12:02:06.000000000 +1200 @@ -3475,10 +3475,6 @@ } else if (sp->pos) { UInt argno = -sp->pos; skip_to_arg(cls, ap, argno, FALSE); - if (ArityOfFunctor((Functor)RepAppl(sp[-1].val)) - != argno+1) { - last_arg = FALSE; - } } } sp++;