aboutsummaryrefslogtreecommitdiffhomepage
path: root/proofs
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-06 11:39:45 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2000-12-06 11:39:45 +0000
commit10efe99cd5d19ad5e643b50234e38a8384f0657f (patch)
treec12e56139aa6770c148389297c57eb9b1ecbca97 /proofs
parentc72588e26c59037fe9a9455f9796c0dfd5bc9ed1 (diff)
Ajout erreur DoesNotOccurIn
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1067 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'proofs')
-rw-r--r--proofs/logic.ml7
-rw-r--r--proofs/logic.mli7
2 files changed, 12 insertions, 2 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml
index 8021f336e..58fb8490e 100644
--- a/proofs/logic.ml
+++ b/proofs/logic.ml
@@ -21,14 +21,19 @@ open Retyping
open Evarutil
type refiner_error =
+
+ (* Errors raised by the refiner *)
| BadType of constr * constr * constr
| OccurMeta of constr
| CannotApply of constr * constr
+ | NotWellTyped of constr
+
+ (* Errors raised by the tactics *)
| CannotUnify of constr * constr
| CannotGeneralize of constr
- | NotWellTyped of constr
| BadTacticArgs of string * tactic_arg list
| IntroNeedsProduct
+ | DoesNotOccurIn of constr * identifier
exception RefinerError of refiner_error
diff --git a/proofs/logic.mli b/proofs/logic.mli
index eade902ba..1038b5c0d 100644
--- a/proofs/logic.mli
+++ b/proofs/logic.mli
@@ -36,14 +36,19 @@ val prim_extractor :
(*s Refiner errors. *)
type refiner_error =
+
+ (*i Errors raised by the refiner i*)
| BadType of constr * constr * constr
| OccurMeta of constr
| CannotApply of constr * constr
+ | NotWellTyped of constr
+
+ (*i Errors raised by the tactics i*)
| CannotUnify of constr * constr
| CannotGeneralize of constr
- | NotWellTyped of constr
| BadTacticArgs of string * tactic_arg list
| IntroNeedsProduct
+ | DoesNotOccurIn of constr * identifier
exception RefinerError of refiner_error