From: Jean Privat Date: Tue, 20 Oct 2015 00:04:52 +0000 (-0400) Subject: core::hash_collection: native array storage is no more nullable X-Git-Tag: v0.7.9~22^2~2 X-Git-Url: http://nitlanguage.org core::hash_collection: native array storage is no more nullable Signed-off-by: Jean Privat --- diff --git a/lib/core/collection/hash_collection.nit b/lib/core/collection/hash_collection.nit index 1a27991..7c9fc6a 100644 --- a/lib/core/collection/hash_collection.nit +++ b/lib/core/collection/hash_collection.nit @@ -24,7 +24,7 @@ end private abstract class HashCollection[K] type N: HashNode[K] - var array: nullable NativeArray[nullable N] = null # Used to store items + var array: NativeArray[nullable N] is noautoinit # Used to store items var capacity: Int = 0 # Size of _array var the_length: Int = 0 # Number of items in the map