From: Claudio Sacerdoti Coen Date: Wed, 27 Sep 2006 13:14:33 +0000 (+0000) Subject: New bug found in disambiguation of records. X-Git-Tag: 0.4.95@7852~988 X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=commitdiff_plain;h=ae1827aaba945a25bdc209ca23aa836befa4bead;p=helm.git New bug found in disambiguation of records. To fix the bug it is necessary to propagate the substitution computed during the type-checking of the constructors to the types of the inductive types. This is quite complex to do. One possibility is simply to add the substitution to the proof status. --- diff --git a/matita/tests/record.ma b/matita/tests/record.ma index ed9ecfed8..c024acf9e 100644 --- a/matita/tests/record.ma +++ b/matita/tests/record.ma @@ -37,3 +37,8 @@ record paperino: Prop \def { pippo : paolo \to paolo; piero : True }. + +(* the following test used to show the following bug: the left + parameter A in the type of t was not unified with the left + parameter A in the type of the constructor of the record *) +record t A : Type := { f : t A }.