From 4564079be1b9e3ecdbe988e726d8e77d3059d02e Mon Sep 17 00:00:00 2001 From: herbelin Date: Tue, 11 Aug 2009 09:02:16 +0000 Subject: Relatively ad hoc fix to an ill-typed instantiation bug in type inference (see file failure/evar1.v) + fix of some CUMUL problems that were in the wrong direction. We assume for the fix that ill-typed unification problems come from subtyping where we don't know yet if a coercion has to be inserted or not, and hence are of the CUMUL form. More on suspending problems of the form ?n <= Type or Prop <= ?n has to be done yet. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12268 85f007b7-540e-0410-9357-904b9bb8a0f7 --- test-suite/failure/evar1.v | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test-suite/failure/evar1.v (limited to 'test-suite/failure') diff --git a/test-suite/failure/evar1.v b/test-suite/failure/evar1.v new file mode 100644 index 000000000..1a4e42a89 --- /dev/null +++ b/test-suite/failure/evar1.v @@ -0,0 +1,3 @@ +(* This used to succeed by producing an ill-typed term in v8.2 *) + +Lemma u: forall A : Prop, (exist _ A A) = (exist _ A A). -- cgit v1.2.3