lib: fix mismatch between keys and values formal types
[nit.git] / lib / standard / collection / array.nit
index fa69711..f9ed504 100644 (file)
@@ -623,7 +623,7 @@ class ArrayMapKeys[K: Object, E]
 end
 
 class ArrayMapValues[K: Object, E]
-       super RemovableCollection[K]
+       super RemovableCollection[E]
        # The original map
        var map: ArrayMap[K, E]
        redef fun first do return self.map._items.first.first