syntax: remove AbsSyntaxVisitor::type_collection
authorJean Privat <jean@pryen.org>
Fri, 25 Mar 2011 01:41:53 +0000 (21:41 -0400)
committerJean Privat <jean@pryen.org>
Thu, 31 Mar 2011 14:58:12 +0000 (10:58 -0400)
With the new for, Collection is no more a primitive class.

Signed-off-by: Jean Privat <jean@pryen.org>

src/syntax/syntax_base.nit

index 6b9bdc0..6d9bf07 100644 (file)
@@ -338,12 +338,6 @@ class AbsSyntaxVisitor
                return get_type_by_name(once ("String".to_symbol))
        end
 
-       # The primitive type Collection[nullable Object]
-       fun type_collection: MMType
-       do
-               return get_instantiated_type_by_name(once ("Collection".to_symbol), [type_object.as_nullable])
-       end
-
        # The primitive type NativeString
        fun type_nativestring: MMType
        do