diff options
| author | coq | 2002-10-05 11:03:20 +0000 |
|---|---|---|
| committer | coq | 2002-10-05 11:03:20 +0000 |
| commit | 1e485645ef6481a856e8a67477f186519fb8ec9d (patch) | |
| tree | fe06414569b65ae325c474f55e831fe228a0c23c /kernel/mod_typing.ml | |
| parent | dfb48b895bb114e6eb49840d960268e18f8aaf0c (diff) | |
Lazy experimentale temporaire...
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3091 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'kernel/mod_typing.ml')
| -rw-r--r-- | kernel/mod_typing.ml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/kernel/mod_typing.ml b/kernel/mod_typing.ml index 0fb79376ab..b8399ab321 100644 --- a/kernel/mod_typing.ml +++ b/kernel/mod_typing.ml @@ -91,13 +91,14 @@ and merge_with env mtb with_decl = cst2 in SPBconst {cb with - const_body = Some j.uj_val; + const_body = + Some (Lazy.lazy_from_val j.uj_val); const_constraints = cst} | Some b -> - let cst1 = Reduction.conv env' c b in + let cst1 = Reduction.conv env' c (Lazy.force_val b) in let cst = Constraint.union cb.const_constraints cst1 in SPBconst {cb with - const_body = Some c; + const_body = Some (Lazy.lazy_from_val c); const_constraints = cst} end | With_Module (id, mp) -> |
