diff options
| author | gareuselesinge | 2013-05-06 13:40:58 +0000 |
|---|---|---|
| committer | gareuselesinge | 2013-05-06 13:40:58 +0000 |
| commit | 9fa14555270fa8f2368a7f4df1510bd2937d25ec (patch) | |
| tree | 5ca417f25ef2f0c2425820494f0a097b12f82b50 /plugins | |
| parent | 683afb998ceb8302f3d9ec1d69cfe1ee86816c13 (diff) | |
States: frozen states can hold closures
States.freeze takes ~marshallable:bool, so that (only) when we want to
marshal data to disk/network we can ask the freeze functions of the
summary to force lazy values. The flag is propagated to Lib and Summary.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16478 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/funind/invfun.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/funind/invfun.ml b/plugins/funind/invfun.ml index e46c1a15a6..fd074386ec 100644 --- a/plugins/funind/invfun.ml +++ b/plugins/funind/invfun.ml @@ -1013,7 +1013,7 @@ let do_save () = Lemmas.save_named false *) let derive_correctness make_scheme functional_induction (funs: constant list) (graphs:inductive list) = - let previous_state = States.freeze () in + let previous_state = States.freeze ~marshallable:false in let funs = Array.of_list funs and graphs = Array.of_list graphs in let funs_constr = Array.map mkConst funs in try |
