aboutsummaryrefslogtreecommitdiff
path: root/plugins/cc
diff options
context:
space:
mode:
authorMaxime Dénès2017-02-08 13:04:00 +0100
committerMaxime Dénès2017-02-08 13:04:00 +0100
commit8d7c8bb91bb1cee533bb3f94fe36a04343f08006 (patch)
tree7a8c381e021a905ca90183ac62b63859c9d4f102 /plugins/cc
parent3550120641c3b8d84290dc950e717aaf099775f9 (diff)
parent90b6969c467f097a4d7da0140e1351ef98d6401d (diff)
Merge PR#393: Replace Typeops with Fast_typeops
Diffstat (limited to 'plugins/cc')
-rw-r--r--plugins/cc/ccalgo.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/cc/ccalgo.ml b/plugins/cc/ccalgo.ml
index bc53b113df..7347c3c2cd 100644
--- a/plugins/cc/ccalgo.ml
+++ b/plugins/cc/ccalgo.ml
@@ -444,7 +444,7 @@ and applist_projection c l =
let p = Projection.make (fst c) false in
(match l with
| [] -> (* Expand the projection *)
- let ty,_ = Typeops.type_of_constant (Global.env ()) c in
+ let ty = Typeops.type_of_constant_in (Global.env ()) c in (* FIXME constraints *)
let pb = Environ.lookup_projection p (Global.env()) in
let ctx,_ = Term.decompose_prod_n_assum (pb.Declarations.proj_npars + 1) ty in
it_mkLambda_or_LetIn (mkProj(p,mkRel 1)) ctx