X-Git-Url: http://nitlanguage.org diff --git a/src/syntax/syntax_base.nit b/src/syntax/syntax_base.nit index ab1ced0..0b53c0a 100644 --- a/src/syntax/syntax_base.nit +++ b/src/syntax/syntax_base.nit @@ -292,10 +292,10 @@ special Visitor return _module.class_by_name(once ("String".to_symbol)).get_type end - # The primitive type Collection[Object] + # The primitive type Collection[nullable Object] meth type_collection: MMType do - return _module.class_by_name(once ("Collection".to_symbol)).get_type + return _module.class_by_name(once ("Collection".to_symbol)).get_instantiate_type([type_object.as_nullable]) end # The primitive type Array[?]