tests: error_syntax errors on `? now
[nit.git] / contrib / neo_doxygen / src / model / module_compound.nit
index 08b8205..aca8dfc 100644 (file)
@@ -51,7 +51,7 @@ class FileCompound
                for m in inner_namespaces do m.location = location
        end
 
-       redef fun name=(name: String) do
+       redef fun name=(name) do
                # Example: `MyClass.java`
                super
                var match = name.search_last(".")
@@ -65,7 +65,7 @@ class FileCompound
                for m in inner_namespaces do m.update_name
        end
 
-       redef fun declare_namespace(id: String, full_name: String) do
+       redef fun declare_namespace(id, full_name) do
                var m: Module
 
                assert not full_name.is_empty or id.is_empty else