diff options
author | 2001-05-23 15:13:07 +0000 | |
---|---|---|
committer | 2001-05-23 15:13:07 +0000 | |
commit | dc2e676c9cdedea43805c21a4b3203832a985f95 (patch) | |
tree | 849760ef13d1460d603ce9436c244922e13a6080 /contrib | |
parent | a023ff2e48aaf7ebfb15e10dc7cdb80ab2991e8e (diff) |
amelioration des messages d'erreurs vis a vis des evars
ajout automatique des chemins vers les sources au moment du Drop
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1761 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/correctness/ptactic.ml | 2 | ||||
-rw-r--r-- | contrib/interface/centaur.ml | 2 | ||||
-rw-r--r-- | contrib/xml/xmlcommand.ml | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/contrib/correctness/ptactic.ml b/contrib/correctness/ptactic.ml index a4b62c53c..66633277a 100644 --- a/contrib/correctness/ptactic.ml +++ b/contrib/correctness/ptactic.ml @@ -220,7 +220,7 @@ let correctness s p opttac = let env = Global.env () in let sign = Global.named_context () in let sigma = Evd.empty in - let cty = Reduction.nf_betaiota env sigma cty in + let cty = Reduction.nf_betaiota cty in let id = id_of_string s in start_proof id Declare.NeverDischarge sign cty; Penv.new_edited id (v,p); diff --git a/contrib/interface/centaur.ml b/contrib/interface/centaur.ml index f48f04e7c..6e1555d59 100644 --- a/contrib/interface/centaur.ml +++ b/contrib/interface/centaur.ml @@ -289,7 +289,7 @@ let ct_print_eval ast red_fun env evd judg = let {uj_val=value; uj_type=typ} = judg in let nvalue = red_fun value (* // Attention , ici il faut peut être utiliser des environnemenst locaux *) -and ntyp = nf_betaiota env evd typ in +and ntyp = nf_betaiota typ in (ctf_SearchResults !global_request_id, Some (P_pl (CT_premises_list diff --git a/contrib/xml/xmlcommand.ml b/contrib/xml/xmlcommand.ml index 5f23c1d64..95a93cde7 100644 --- a/contrib/xml/xmlcommand.ml +++ b/contrib/xml/xmlcommand.ml @@ -265,8 +265,7 @@ let print_term inner_types l env csr = let inner_type_display env term = let type_of_term = - Reduction.nf_betaiota env (Evd.empty) - (R.get_type_of env (Evd.empty) term) + Reduction.nf_betaiota (R.get_type_of env (Evd.empty) term) in match R.get_sort_of env (Evd.empty) type_of_term with T.Prop T.Null -> InnerProp type_of_term |