@@ -1025,7 +1025,10 @@ processTactic (MatchProblems all) ps
10251025 holes = holes ps \\ (map fst ns'') }, plog ps)
10261026processTactic t ps
10271027 = case holes ps of
1028− [] -> fail "Nothing to fill in."
1028+ [] -> case t of
1029+ Focus _ -> return (ps, "") -- harmless to refocus when done, since
1030+ -- 'focus' doesn't fail
1031+ _ -> fail $ "Nothing to fill in."
10291032 (h:_) -> do ps' <- execStateT (process t h) ps
10301033 let (ns_in, probs')
10311034 = case solved ps' of