diff options
| author | herbelin | 2011-06-13 19:58:52 +0000 |
|---|---|---|
| committer | herbelin | 2011-06-13 19:58:52 +0000 |
| commit | e56b4c209bf3c27f72f22457682aaaa83eb3c2e9 (patch) | |
| tree | c92a137b9fe0bac6fa5dde69212597c3314667ad | |
| parent | 41e9068a35523e66c834f3b226af2d22e97b3d2f (diff) | |
Fixing an anomaly in Scheme Induction.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14193 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | test-suite/success/Scheme.v | 3 | ||||
| -rw-r--r-- | toplevel/indschemes.ml | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test-suite/success/Scheme.v b/test-suite/success/Scheme.v new file mode 100644 index 0000000000..bde72c1414 --- /dev/null +++ b/test-suite/success/Scheme.v @@ -0,0 +1,3 @@ +(* This failed in 8.3pl2 *) + +Scheme Induction for eq Sort Prop. diff --git a/toplevel/indschemes.ml b/toplevel/indschemes.ml index dc127db0ce..9017315309 100644 --- a/toplevel/indschemes.ml +++ b/toplevel/indschemes.ml @@ -291,7 +291,7 @@ requested let l1,l2 = split_scheme q in let names inds recs x y z = let ind = smart_global_inductive y in - let sort_of_ind = Retyping.get_sort_family_of env Evd.empty (mkInd ind) in + let sort_of_ind = inductive_sort_family (snd (lookup_mind_specif env ind)) in let z' = family_of_sort (interp_sort z) in let suffix = ( match sort_of_ind with |
