tests: add base_gen_redef.nit
[nit.git] / tests / test_paire.nit
index dc98ae0..f393851 100644 (file)
@@ -42,7 +42,7 @@ private
                end
 end
 
-class Pair[E: Comparable, E: Comparable]
+class Pair[E: Comparable, F: Comparable]
 
        fun >(p: Pair[Comparable, Comparable]): Bool
                do
@@ -51,7 +51,7 @@ class Pair[E: Comparable, E: Comparable]
                end
 end
 
-class Pair[E: Int, E: Int]
+class Pair[E: Int, F: Int]
 
        fun sum: Int
                do