@@ -353,7 +353,7 @@ elab ist info emode opts fn tm
353 UType _ -> elab' ina (Just fc) (PRef fc unitTy)
353 UType _ -> elab' ina (Just fc) (PRef fc unitTy)
354 _ -> elab' ina (Just fc) (PRef fc unitCon)
354 _ -> elab' ina (Just fc) (PRef fc unitCon)
355 elab' ina fc (PResolveTC (FC "HACK" _ _)) -- for chasing parent classes
355 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
357 elab' ina fc (PResolveTC fc')
357 elab' ina fc (PResolveTC fc')
358 = do c <- getNameFrom (sMN 0 "class")
358 = do c <- getNameFrom (sMN 0 "class")
359 instanceArg c
359 instanceArg c
@@ -1504,9 +1504,8 @@ resTC' tcs defaultOn topholes depth topg fn ist
1504 traceWhen ulog ("Resolving class " ++ show g ++ "\nin" ++ show env ++ "\n" ++ show okholes) $
1504 traceWhen ulog ("Resolving class " ++ show g ++ "\nin" ++ show env ++ "\n" ++ show okholes) $
1505 try' (trivialHoles' okholes ist)
1505 try' (trivialHoles' okholes ist)
1506 (do addDefault t tc ttypes
1506 (do addDefault t tc ttypes
1507− let stk = elab_stack ist
1507+ let stk = map fst (filter snd $ elab_stack ist)
1508 let insts = findInstances ist t
1508 let insts = findInstances ist t
1510 blunderbuss t depth stk (stk ++ insts)) True
1509 blunderbuss t depth stk (stk ++ insts)) True
1512 -- returns Just hs if okay, where hs are holes which are okay in the
1511 -- returns Just hs if okay, where hs are holes which are okay in the