aboutsummaryrefslogtreecommitdiff
path: root/pretyping/typing.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/typing.ml')
-rw-r--r--pretyping/typing.ml6
1 files changed, 0 insertions, 6 deletions
diff --git a/pretyping/typing.ml b/pretyping/typing.ml
index 5dfcfdce3c..cbe8b36013 100644
--- a/pretyping/typing.ml
+++ b/pretyping/typing.ml
@@ -40,12 +40,6 @@ let rec execute mf env sigma cstr =
with Not_found ->
error ("execute: variable " ^ (string_of_id id) ^ " not defined"))
- | IsAbst _ ->
- if evaluable_abst env cstr then
- execute mf env sigma (abst_value env cstr)
- else
- error "Cannot typecheck an unevaluable abstraction"
-
| IsConst c ->
make_judge cstr (type_of_constant env sigma c)