From 82a3fb5d5c0d0c5660effec59f3800ee5e8a125d Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Wed, 19 Sep 2018 22:47:36 +0200 Subject: Fixing #4859 (anomaly with Scheme called on inductive type with indices). We raise a normal error instead of an anomaly. --- test-suite/bugs/closed/4859.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-suite/bugs/closed/4859.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/4859.v b/test-suite/bugs/closed/4859.v new file mode 100644 index 0000000000..7be0bedcfc --- /dev/null +++ b/test-suite/bugs/closed/4859.v @@ -0,0 +1,7 @@ +(* Not supported but check at least that it does not raise an anomaly *) + +Inductive Fin{n : nat} : Set := +| F1{i : nat}{e : n = S i} +| FS{i : nat}(f : @ Fin i){e : n = S i}. + +Fail Scheme Equality for Fin. -- cgit v1.2.3