From fdc8dd3eb20c81d88e780894166515ee8b7d49b6 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 19 Oct 2015 20:04:52 -0400 Subject: [PATCH] core::hash_collection: native array storage is no more nullable Signed-off-by: Jean Privat --- lib/core/collection/hash_collection.nit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.9.5