diff options
author | amblaf <you@example.com> | 2017-06-27 08:38:20 +0200 |
---|---|---|
committer | amblaf <you@example.com> | 2017-07-31 10:34:05 +0200 |
commit | 1c10b84c0ce5f96a3afd1fc83c738c76070958c3 (patch) | |
tree | c0dc65c051e4c97fc6a79b7fcbc292e9cb7ac650 /plugins/cc | |
parent | b84ab413f8434719dbbf5e09da9a0698b84b0106 (diff) |
Correcting [build_discriminator] to make the test-suite pass
Diffstat (limited to 'plugins/cc')
-rw-r--r-- | plugins/cc/cctac.ml | 3 |
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) |