aboutsummaryrefslogtreecommitdiff
path: root/toplevel/indschemes.ml
diff options
context:
space:
mode:
Diffstat (limited to 'toplevel/indschemes.ml')
-rw-r--r--toplevel/indschemes.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/toplevel/indschemes.ml b/toplevel/indschemes.ml
index 0e59f1aa98..a430d0ded2 100644
--- a/toplevel/indschemes.ml
+++ b/toplevel/indschemes.ml
@@ -188,6 +188,9 @@ let try_declare_scheme what f internal names kn =
| EqUnknown s ->
alarm what internal
(str "Found unsupported " ++ str s ++ str " while building Boolean equality.")
+ | NoDecidabilityCoInductive ->
+ alarm what internal
+ (str "Scheme Equality is only for inductive types.")
| e when Errors.noncritical e ->
alarm what internal
(str "Unexpected error during scheme creation: " ++ Errors.print e)