diff options
author | Matthieu Sozeau <mattam@mattam.org> | 2014-03-25 18:29:28 +0100 |
---|---|---|
committer | Matthieu Sozeau <mattam@mattam.org> | 2014-05-06 09:58:58 +0200 |
commit | 62fb849cf9410ddc2d9f355570f4fb859f3044c3 (patch) | |
tree | 2f350ca302a46e18840638d20e7ff89beaf2b1f0 /kernel/cooking.ml | |
parent | ca318cd0d21ce157a3042b600ded99df6face25e (diff) |
Adapt universe polymorphic branch to new handling of futures for delayed proofs.
Diffstat (limited to 'kernel/cooking.ml')
-rw-r--r-- | kernel/cooking.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cooking.ml b/kernel/cooking.ml index 3d580d713..5fa01e5db 100644 --- a/kernel/cooking.ml +++ b/kernel/cooking.ml @@ -213,7 +213,7 @@ let cook_constant env { from = cb; info = { Opaqueproof.modlist; abstract } } = { proj_ind = mind; proj_npars = pb.proj_npars + n'; proj_arg = pb.proj_arg; proj_type = ty'; proj_body = c' } in - let univs = Future.from_val (UContext.union abs_ctx (Future.force cb.const_universes)) in + let univs = UContext.union abs_ctx cb.const_universes in (body, typ, Option.map projection cb.const_proj, cb.const_polymorphic, univs, cb.const_inline_code, Some const_hyps) |