aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pretyping/heads.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/pretyping/heads.ml b/pretyping/heads.ml
index d65faecd19..870df62500 100644
--- a/pretyping/heads.ml
+++ b/pretyping/heads.ml
@@ -41,8 +41,7 @@ let rec compute_head env = function
| Some c -> kind_of_head env c)
| EvalVarRef id ->
(match lookup_named id env with
- | LocalDef (_,c,_) when not (Decls.variable_opacity id) ->
- kind_of_head env c
+ | LocalDef (_,c,_) -> kind_of_head env c
| _ -> RigidHead RigidOther)
and kind_of_head env t =