aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/typeclasses.ml
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <mattam@mattam.org>2015-02-12 16:43:28 +0100
committerGravatar Matthieu Sozeau <mattam@mattam.org>2015-02-16 17:34:39 +0100
commitcce1b6f06f9802f4d7c977322cec654ad2582d63 (patch)
tree396f17b9e151eb753aaeb1608d15d668c46335cc /pretyping/typeclasses.ml
parent100d50d7cde05334940378a1e6483cae975b93a5 (diff)
Fix bug #3960: potential evar instance categorized as an unresolvable
goal in Instance. Also remove some dead code.
Diffstat (limited to 'pretyping/typeclasses.ml')
-rw-r--r--pretyping/typeclasses.ml9
1 files changed, 0 insertions, 9 deletions
diff --git a/pretyping/typeclasses.ml b/pretyping/typeclasses.ml
index b64ccf60d..18e83056b 100644
--- a/pretyping/typeclasses.ml
+++ b/pretyping/typeclasses.ml
@@ -483,15 +483,6 @@ let is_instance = function
is_class (IndRef ind)
| _ -> false
-let is_implicit_arg = function
-| Evar_kinds.GoalEvar -> false
-| _ -> true
- (* match k with *)
- (* ImplicitArg (ref, (n, id), b) -> true *)
- (* | InternalHole -> true *)
- (* | _ -> false *)
-
-
(* To embed a boolean for resolvability status.
This is essentially a hack to mark which evars correspond to
goals and do not need to be resolved when we have nested [resolve_all_evars]