@@ -422,7 +422,6 @@ apply' fillt fn imps =
422422 do args <- prepare_apply fn (map fst imps)
423423 env <- get_env
424424 g <- goal
425− fillt (raw_apply fn (map Var args))
426425 -- _Don't_ solve the arguments we're specifying by hand.
427426 -- (remove from unified list before calling end_unify)
428427 -- HMMM: Actually, if we get it wrong, the typechecker will complain!
@@ -442,6 +441,7 @@ apply' fillt fn imps =
442441 keepGiven dont hunis hs
443442 put (ES (p { dontunify = dont, unified = (n, unify),
444443 notunified = notunify ++ notunified p }, a) s prev)
444+ fillt (raw_apply fn (map Var args))
445445 ptm <- get_term
446446 g <- goal
447447-- trace ("Goal " ++ show g ++ "\n" ++ show (fn, imps, unify) ++ "\n" ++ show ptm) $