diff options
| -rw-r--r-- | stm/stm.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stm/stm.ml b/stm/stm.ml index d38491fec2..7c96208546 100644 --- a/stm/stm.ml +++ b/stm/stm.ml @@ -1576,7 +1576,8 @@ end = struct (* {{{ *) let uc = Option.get (Opaqueproof.get_constraints (Global.opaque_tables ()) o) in - let map (c, ctx) = Vars.subst_instance_constr (Univ.AUContext.instance ctx) c in + (** We only manipulate monomorphic terms here. *) + let map (c, ctx) = assert (Univ.AUContext.is_empty ctx); c in let pr = Future.from_val (map (Option.get (Global.body_of_constant_body c))) in let uc = |
