Prepare Nit code for inherited and automatic constructors.
[nit.git] / lib / standard / array.nit
index 5c63068..47933dc 100644 (file)
@@ -301,10 +301,10 @@ special ArrayCapable[E]
        end
 
        # The internal storage.
-       attr _items: NativeArray[E]
+       attr _items: NativeArray[E] = null
 
        # The size of `_items'.
-       attr _capacity: Int
+       attr _capacity: Int = 0
 end
 
 # An `Iterator' on `AbstractArray'