diff options
author | 2018-06-01 16:23:29 +0200 | |
---|---|---|
committer | 2018-06-17 11:34:43 +0200 | |
commit | 74d700e9f7fcb14e7136e87b5efab25d5adb194b (patch) | |
tree | 6b5c575b669a385931e61c645d137dc356985a77 /library | |
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 'library')
-rw-r--r-- | library/heads.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/heads.ml b/library/heads.ml index 3d5f6a6ff..d9d650ac0 100644 --- a/library/heads.ml +++ b/library/heads.ml @@ -129,7 +129,7 @@ let compute_head = function let cb = Environ.lookup_constant cst env in let is_Def = function Declarations.Def _ -> true | _ -> false in let body = - if not cb.Declarations.const_proj && is_Def cb.Declarations.const_body + if not (Environ.is_projection cst env) && is_Def cb.Declarations.const_body then Global.body_of_constant cst else None in (match body with |