lib/array: suppress a warning to be compatible with the bootstrap
authorJean Privat <jean@pryen.org>
Sat, 4 Apr 2015 13:36:44 +0000 (20:36 +0700)
committerJean Privat <jean@pryen.org>
Wed, 8 Apr 2015 00:52:01 +0000 (07:52 +0700)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/standard/collection/array.nit

index 233621e..3cc0b57 100644 (file)
@@ -13,7 +13,9 @@
 
 # This module introduces the standard array structure.
 # It also implements two other abstract collections : ArrayMap and ArraySet
-module array
+module array is
+       no_warning "useless-type-test" # to avoid warning with nitc while compiling with c_src
+end
 
 import abstract_collection