diff options
author | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2001-04-09 08:14:18 +0000 |
---|---|---|
committer | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2001-04-09 08:14:18 +0000 |
commit | 50c58ee12337efea8ed5ace79232413e9f7ef6e5 (patch) | |
tree | abd3c128cf58ce7fbd62342fc0f02f0091ca9d87 /contrib/ring | |
parent | 2e1e2b41cbc901581e774e931bdbd31d3662bc32 (diff) |
réparation Quote
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1559 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/ring')
-rw-r--r-- | contrib/ring/quote.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/ring/quote.ml b/contrib/ring/quote.ml index 998418331..e4297ce85 100644 --- a/contrib/ring/quote.ml +++ b/contrib/ring/quote.ml @@ -264,6 +264,12 @@ let compute_ivs gl f cs = lci; if !c_lhs = None & !v_lhs = None then i_can't_do_that (); + + (* The Cases predicate is a lambda; we assume no dependency *) + let p = match kind_of_term p with + | IsLambda (_,_,p) -> pop p + | _ -> p + in { normal_lhs_rhs = List.rev !n_lhs_rhs; variable_lhs = !v_lhs; |