doc/commands: add tests for commands_html
[nit.git] / src / doc / model_ext.nit
index 2adc9fd..5870e72 100644 (file)
@@ -24,7 +24,7 @@ intrude import model::model_base
 class MRawType
        super MType
 
-       redef var model: Model
+       redef var model
 
        # The parts that contitute the description of the type.
        var parts: Sequence[MTypePart] = new Array[MTypePart]
@@ -71,7 +71,7 @@ end
 class MTypePart
        super MEntity
 
-       redef var model: Model
+       redef var model
 
        # The textual content.
        var text: String
@@ -117,4 +117,4 @@ end
 fun package_visibility: MVisibility do return once new MVisibility("package", 2)
 
 # A class kind with no equivalent semantic in Nit.
-fun raw_kind(s: String): MClassKind do return new MClassKind(s, false)
+fun raw_kind(s: String): MClassKind do return new MClassKind(s, false, false, false)