aboutsummaryrefslogtreecommitdiffstats
path: root/src/trace/smtBtype.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace/smtBtype.ml')
-rw-r--r--src/trace/smtBtype.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/trace/smtBtype.ml b/src/trace/smtBtype.ml
index 3b6d107..7c08157 100644
--- a/src/trace/smtBtype.ml
+++ b/src/trace/smtBtype.ml
@@ -304,10 +304,9 @@ let of_coq_compdec reify t compdec =
(match i.hval with
| CompDec _ -> ty
| Delayed _ ->
- Hashtbl.remove reify.tbl t;
let ce = mklApp cTyp_compdec [|t; compdec|] in
- let res = Tindex {index = i.index; hval = CompDec ce} in
- Hashtbl.add reify.tbl t res;
+ i.hval <- CompDec ce;
+ let res = Tindex i in
res
)
| _ -> ty