aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/cc
diff options
context:
space:
mode:
authorGravatar amblaf <you@example.com>2017-06-27 08:38:20 +0200
committerGravatar amblaf <you@example.com>2017-07-31 10:34:05 +0200
commit1c10b84c0ce5f96a3afd1fc83c738c76070958c3 (patch)
treec0dc65c051e4c97fc6a79b7fcbc292e9cb7ac650 /plugins/cc
parentb84ab413f8434719dbbf5e09da9a0698b84b0106 (diff)
Correcting [build_discriminator] to make the test-suite pass
Diffstat (limited to 'plugins/cc')
-rw-r--r--plugins/cc/cctac.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/cc/cctac.ml b/plugins/cc/cctac.ml
index 4934b0750..11d3a6d1f 100644
--- a/plugins/cc/cctac.ml
+++ b/plugins/cc/cctac.ml
@@ -231,7 +231,8 @@ let make_prb gls depth additionnal_terms =
let build_projection intype (cstr:pconstructor) special default gls=
let open Tacmach.New in
let ci= (snd(fst cstr)) in
- let sigma, body=Equality.build_selector (pf_env gls) (project gls) ci (mkRel 1) intype special default in
+ let sigma = project gls in
+ let body=Equality.build_selector (pf_env gls) sigma ci (mkRel 1) intype special default in
let id=pf_get_new_id (Id.of_string "t") gls in
sigma, mkLambda(Name id,intype,body)