diff options
Diffstat (limited to 'proofs')
| -rw-r--r-- | proofs/logic.ml | 2 | ||||
| -rw-r--r-- | proofs/pattern.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml index 2f59990d65..5f8d7c2f2c 100644 --- a/proofs/logic.ml +++ b/proofs/logic.ml @@ -136,7 +136,7 @@ varaibles only in Application and Case *) let collect_meta_variables c = let rec collrec acc = function | DOP0(Meta mv) -> mv::acc - | DOP2(Cast,c,t) -> collrec acc c + | DOP2(Cast,c,_) -> collrec acc c | DOPN(AppL,cl) -> Array.fold_left collrec acc cl | DOPN(MutCase _,_) as mc -> let (_,p,c,lf) = destCase mc in diff --git a/proofs/pattern.ml b/proofs/pattern.ml index 983154c80f..6d3c362d68 100644 --- a/proofs/pattern.ml +++ b/proofs/pattern.ml @@ -221,7 +221,7 @@ let rec pattern_of_constr t = | IsVar id -> PRef (RVar id) | IsSort (Prop c) -> PSort (RProp c) | IsSort (Type _) -> PSort RType - | IsCast (c,t) -> pattern_of_constr c + | IsCast (c,_) -> pattern_of_constr c | IsProd (na,c,b) -> PBinder (BProd,na,pattern_of_constr c,pattern_of_constr b) | IsLambda (na,c,b) -> |
