diff options
| author | herbelin | 2006-08-24 17:03:28 +0000 |
|---|---|---|
| committer | herbelin | 2006-08-24 17:03:28 +0000 |
| commit | 479c522938fea2fdc4281123c3e0581551f955a8 (patch) | |
| tree | f4583ccd46c39a50dea678b37bf2d659bca76a0d /toplevel | |
| parent | a0726f4ae896bb668d4da4c96501686b25cd82cd (diff) | |
Morceau de code mort
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9082 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
| -rw-r--r-- | toplevel/record.ml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/toplevel/record.ml b/toplevel/record.ml index 9c2d9732a3..28ecb909a2 100644 --- a/toplevel/record.ml +++ b/toplevel/record.ml @@ -192,7 +192,6 @@ let declare_projections indsp coers fields = list telling if the corresponding fields must me declared as coercion *) let definition_structure ((is_coe,(_,idstruc)),ps,cfs,idbuild,s) = let coers,fs = List.split cfs in - let nparams = local_binders_length ps in let extract_name acc = function Vernacexpr.AssumExpr((_,Name id),_) -> id::acc | Vernacexpr.DefExpr ((_,Name id),_,_) -> id::acc @@ -219,4 +218,4 @@ let definition_structure ((is_coe,(_,idstruc)),ps,cfs,idbuild,s) = let kinds,sp_projs = declare_projections rsp coers fields in let build = ConstructRef (rsp,1) in (* This is construct path of idbuild *) if is_coe then Class.try_add_new_coercion build Global; - Recordops.declare_structure(rsp,idbuild,nparams,List.rev kinds,List.rev sp_projs) + Recordops.declare_structure(rsp,idbuild,List.rev kinds,List.rev sp_projs) |
