]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/tests/record.ma
New bug found in disambiguation of records.
[helm.git] / helm / software / matita / tests / record.ma
index ed9ecfed89044bb99ba17cf90fcb14f411dab30e..c024acf9e029c6a81a2f848a0902bca967390a01 100644 (file)
@@ -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 }.