diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-06-01 16:23:29 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2018-06-17 11:34:43 +0200 |
commit | 74d700e9f7fcb14e7136e87b5efab25d5adb194b (patch) | |
tree | 6b5c575b669a385931e61c645d137dc356985a77 /checker/environ.ml | |
parent | d62354b7e9ff8e20aa959984b392a27e26f9fc24 (diff) |
Getting rid of the const_proj field in the kernel.
This field used to signal that a constant was the compatibility
eta-expansion of a primitive projections, but since a previous cleanup in
the kernel it had become useless.
Diffstat (limited to 'checker/environ.ml')
-rw-r--r-- | checker/environ.ml | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/checker/environ.ml b/checker/environ.ml index 809150cea..3d5fac806 100644 --- a/checker/environ.ml +++ b/checker/environ.ml @@ -166,9 +166,6 @@ let evaluable_constant cst env = try let _ = constant_value env (cst, Univ.Instance.empty) in true with Not_found | NotEvaluableConst _ -> false -let is_projection cst env = - (lookup_constant cst env).const_proj - let lookup_projection p env = Cmap_env.find (Projection.constant p) env.env_globals.env_projections |