Merge branch 'update_syntax' into next
[nit.git] / lib / standard / collection / abstract_collection.nit
index 76ba515..6f9693b 100644 (file)
@@ -85,7 +85,7 @@ interface NaiveCollection[E]
        redef fun length
        do
                var nb = 0
-               for i in self do nb += nb
+               for i in self do nb += 1 
                return nb
        end