diff options
author | Enrico Tassi <Enrico.Tassi@inria.fr> | 2013-12-24 18:20:22 +0100 |
---|---|---|
committer | Enrico Tassi <Enrico.Tassi@inria.fr> | 2013-12-24 18:23:41 +0100 |
commit | a681e57e3c76dff2fe710ce533179ea659d8de0b (patch) | |
tree | 6e5a4d2f8aed9dc518fe3d9e6e87bd9600c9a67d /kernel/safe_typing.ml | |
parent | 18c7a10341b462256b576542412db889d528465f (diff) |
STM: capture type checking error (Closes: 3195)
Also, the future chain that reaches the kernel is greedy.
If the user executes step by step, then the error is raised immediately.
Diffstat (limited to 'kernel/safe_typing.ml')
-rw-r--r-- | kernel/safe_typing.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/safe_typing.ml b/kernel/safe_typing.ml index 35da705ef..ac7a5bb93 100644 --- a/kernel/safe_typing.ml +++ b/kernel/safe_typing.ml @@ -379,7 +379,7 @@ let add_constant dir l decl senv = (* In coqc, opaque constants outside sections will be stored indirectly in a specific table *) { cb with const_body = - OpaqueDef (Future.chain ~pure:true lc Lazyconstr.turn_indirect) } + OpaqueDef (Future.chain ~greedy:true ~pure:true lc Lazyconstr.turn_indirect) } | _ -> cb in let senv' = add_field (l,SFBconst cb) (C kn) senv in |