@@ -101,7 +101,7 @@ elab ist info pattern tcgen fn tm
101 (elab' ina (PRef fc unitTy))
101 (elab' ina (PRef fc unitTy))
102 elab' ina (PFalse fc) = elab' ina (PRef fc falseTy)
102 elab' ina (PFalse fc) = elab' ina (PRef fc falseTy)
103 elab' ina (PResolveTC (FC "HACK" _)) -- for chasing parent classes
103 elab' ina (PResolveTC (FC "HACK" _)) -- for chasing parent classes
104− = resolveTC 2 fn ist
104+ = resolveTC 5 fn ist
105 elab' ina (PResolveTC fc) = do c <- unique_hole (MN 0 "c")
105 elab' ina (PResolveTC fc) = do c <- unique_hole (MN 0 "c")
106 instanceArg c
106 instanceArg c
107 elab' ina (PRefl fc) = elab' ina (PApp fc (PRef fc eqCon) [pimp (MN 0 "a") Placeholder,
107 elab' ina (PRefl fc) = elab' ina (PApp fc (PRef fc eqCon) [pimp (MN 0 "a") Placeholder,
@@ -366,7 +366,7 @@ resolveTC depth fn ist
366 tm <- get_term
366 tm <- get_term
367-- traceWhen (depth > 6) ("GOAL: " ++ show t ++ "\nTERM: " ++ show tm) $
367-- traceWhen (depth > 6) ("GOAL: " ++ show t ++ "\nTERM: " ++ show tm) $
368-- (tryAll (map elabTC (map fst (ctxtAlist (tt_ctxt ist)))))
368-- (tryAll (map elabTC (map fst (ctxtAlist (tt_ctxt ist)))))
369− let depth' = if scopeOnly then 2 else depth
369+ let depth' = if scopeOnly then 5 else depth
370 blunderbuss t depth' insts)
370 blunderbuss t depth' insts)
372 elabTC n | n /= fn && tcname n = (resolve n depth, show n)
372 elabTC n | n /= fn && tcname n = (resolve n depth, show n)