@@ -351,7 +351,8 @@ buildSCG' ist topfn pats args = nub $ concatMap scgPat pats where
351351 Delayed <- guarded
352352 -- Under a delayed recursive call just check the arguments
353353 = concatMap (\x -> findCalls cases Unguarded x pvs pargs) args
354− | (P _ n _, args) <- unApply ap
354+ | (P _ n _, args) <- unApply ap,
355+ not (n `elem` pvs)
355356 -- Ordinary call, not under a delay.
356357 -- If n is a constructor, set 'args' as Guarded
357358 = let nguarded = case guarded of