diff options
author | 2016-11-20 03:04:13 +0100 | |
---|---|---|
committer | 2017-02-14 17:30:31 +0100 | |
commit | d833b81b49366e95cf20a1d00f9c63883adb8942 (patch) | |
tree | 1afca49fcd42e96b658c90d28e9da692ccc39724 /pretyping/reductionops.ml | |
parent | c0d38ae52ac410811e7df54c52e8d3a18bb11bcb (diff) |
Rewrite API using EConstr.
Diffstat (limited to 'pretyping/reductionops.ml')
-rw-r--r-- | pretyping/reductionops.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pretyping/reductionops.ml b/pretyping/reductionops.ml index 480ec2319..31354217f 100644 --- a/pretyping/reductionops.ml +++ b/pretyping/reductionops.ml @@ -1592,8 +1592,9 @@ let meta_instance sigma b = EConstr.of_constr (instance sigma c_sigma b.rebus) let nf_meta sigma c = + let c = EConstr.Unsafe.to_constr c in let cl = mk_freelisted c in - EConstr.Unsafe.to_constr (meta_instance sigma { cl with rebus = EConstr.of_constr cl.rebus }) + meta_instance sigma { cl with rebus = EConstr.of_constr cl.rebus } (* Instantiate metas that create beta/iota redexes *) |