@@ -353,7 +353,7 @@ elab ist info emode opts fn tm
353353 UType _ -> elab' ina (Just fc) (PRef fc unitTy)
354354 _ -> elab' ina (Just fc) (PRef fc unitCon)
355355 elab' ina fc (PResolveTC (FC "HACK" _ _)) -- for chasing parent classes
356− = do g <- goal; resolveTC False False 10 g fn ist
356+ = do g <- goal; resolveTC False False 5 g fn ist
357357 elab' ina fc (PResolveTC fc')
358358 = do c <- getNameFrom (sMN 0 "class")
359359 instanceArg c
@@ -1504,9 +1504,8 @@ resTC' tcs defaultOn topholes depth topg fn ist
15041504 traceWhen ulog ("Resolving class " ++ show g ++ "\nin" ++ show env ++ "\n" ++ show okholes) $
15051505 try' (trivialHoles' okholes ist)
15061506 (do addDefault t tc ttypes
1507− let stk = elab_stack ist
1507+ let stk = map fst (filter snd $ elab_stack ist)
15081508 let insts = findInstances ist t
1509− tm <- get_term
15101509 blunderbuss t depth stk (stk ++ insts)) True
15111510 where
15121511 -- returns Just hs if okay, where hs are holes which are okay in the