aboutsummaryrefslogtreecommitdiff
path: root/checker/checkInductive.mli
diff options
context:
space:
mode:
authorGaëtan Gilbert2018-11-20 14:42:05 +0100
committerGaëtan Gilbert2018-12-12 16:27:12 +0100
commit0f3c1f242ec824a5772c47de61a6cddebe2ee8c8 (patch)
treeeff61fcff7d9d79a9757ee0a4f2d60da506902d0 /checker/checkInductive.mli
parentdfd4c4a2b50edf894a19cd50c43517e1804eadc9 (diff)
checker: check inductive types by roundtrip through the kernel.
Diffstat (limited to 'checker/checkInductive.mli')
-rw-r--r--checker/checkInductive.mli5
1 files changed, 3 insertions, 2 deletions
diff --git a/checker/checkInductive.mli b/checker/checkInductive.mli
index 17ca0d4583..ab54190967 100644
--- a/checker/checkInductive.mli
+++ b/checker/checkInductive.mli
@@ -8,10 +8,11 @@
(* * (see LICENSE file for the text of the license) *)
(************************************************************************)
-(*i*)
open Names
open Environ
-(*i*)
+
+exception InductiveMismatch of MutInd.t * string
+(** Some field of the inductive is different from what the kernel infers. *)
(*s The following function does checks on inductive declarations. *)