diff options
| author | msozeau | 2010-01-02 12:31:00 +0000 |
|---|---|---|
| committer | msozeau | 2010-01-02 12:31:00 +0000 |
| commit | 555c24b7c16a561eac480a64dff0856c8a4313a5 (patch) | |
| tree | e2c398e69c271ef47f51a8438b7e23c47d571787 | |
| parent | 48c844ddd8984b0eef6e9ec0aafefd28ccd03554 (diff) | |
Fix bug in last commit, missing a substitution call.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12619 85f007b7-540e-0410-9357-904b9bb8a0f7
| -rw-r--r-- | toplevel/classes.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/classes.ml b/toplevel/classes.ml index a45ab88606..590f5c6f47 100644 --- a/toplevel/classes.ml +++ b/toplevel/classes.ml @@ -158,7 +158,7 @@ let new_instance ?(global=false) ctx (instid, bk, cl) props ?(generalize=true) List.fold_right (fun (na, b, t) (args, args') -> match b with | None -> (List.tl args, List.hd args :: args') - | Some b -> (args, b :: args')) + | Some b -> (args, substl args' b :: args')) (snd cl.cl_context) (args, []) in cl, c', ctx', ctx, len, imps, args |
