aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--kernel/safe_typing.ml4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/safe_typing.ml b/kernel/safe_typing.ml
index 20cecc84a..65d1de7e1 100644
--- a/kernel/safe_typing.ml
+++ b/kernel/safe_typing.ml
@@ -379,7 +379,9 @@ let globalize_constant_universes env cb =
| None -> []
| Some fc ->
match Future.peek_val fc with
- | None -> [Later (Future.chain ~pure:true fc Univ.ContextSet.constraints)]
+ | None -> [Later (Future.chain
+ ~greedy:(not (Future.is_exn fc))
+ ~pure:true fc Univ.ContextSet.constraints)]
| Some c -> [Now (Univ.ContextSet.constraints c)])
let globalize_mind_universes mb =