aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/validate.ml
diff options
context:
space:
mode:
authorGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-04-15 16:05:27 +0000
committerGravatar letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7>2013-04-15 16:05:27 +0000
commitd3097cd34ffffda5dbe332ee88fd33d54180fad9 (patch)
treeb634215effd11bfa01b25750522c441013a2ced2 /checker/validate.ml
parent4bd2e928e3b8d463bb793ad814ff42abdabf9611 (diff)
Checker: vo validation checks the absence of Var/Evar/Meta
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16405 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'checker/validate.ml')
-rw-r--r--checker/validate.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/checker/validate.ml b/checker/validate.ml
index 4c5ca184e..b0c1704ee 100644
--- a/checker/validate.ml
+++ b/checker/validate.ml
@@ -69,6 +69,7 @@ let rec val_gen v ctx o = match v with
(try val_tag Obj.string_tag ctx o
with Failure _ -> fail ctx o "expected a string")
| Any -> ()
+ | Fail -> fail ctx o "unexpected object"
| Annot (s,v) -> val_gen v (ctx/s) o
(* Check that an object is a tuple (or a record). vs is an array of