From f09eef2a1c55a1e9a617b7bad0759b4760a8978a Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Wed, 4 Nov 2020 15:02:11 +0100 Subject: Only lower inductives to Prop if the type is syntactically an arity. Fix #13300 --- test-suite/bugs/closed/bug_13300.v | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test-suite/bugs/closed/bug_13300.v (limited to 'test-suite') diff --git a/test-suite/bugs/closed/bug_13300.v b/test-suite/bugs/closed/bug_13300.v new file mode 100644 index 0000000000..e4fcd6dacc --- /dev/null +++ b/test-suite/bugs/closed/bug_13300.v @@ -0,0 +1,7 @@ +Polymorphic Definition type := Type. + +Inductive bad : type := . + +Fail Check bad : Prop. +Check bad : Set. +(* lowered as much as possible *) -- cgit v1.2.3